diff options
| author | Nick Alcock <nick.alcock@oracle.com> | 2019-07-13 20:44:38 +0100 |
|---|---|---|
| committer | Nick Alcock <nick.alcock@oracle.com> | 2019-09-23 14:12:54 +0100 |
| commit | 01cc754d45d8d6416a0b5462d0645efd448a95b3 (patch) | |
| tree | 6afeff18263d1be0d5f936ea1e3837fbfd7680ef /sim/m32c/misc.c | |
| parent | 1ba0a754ad8c035eac5f7476002ca32b6fd560ec (diff) | |
| download | binutils-01cc754d45d8d6416a0b5462d0645efd448a95b3.zip binutils-01cc754d45d8d6416a0b5462d0645efd448a95b3.tar.gz binutils-01cc754d45d8d6416a0b5462d0645efd448a95b3.tar.bz2 | |
libctf: fix double-free on ctf_compress_write error path
We were freeing the compressed data buffer twice if compression failed.
libctf/
* ctf-create.c (ctf_compress_write): Fix double-free.
Diffstat (limited to 'sim/m32c/misc.c')
0 files changed, 0 insertions, 0 deletions
