aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-dump.c
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2019-07-13 20:44:38 +0100
committerNick Alcock <nick.alcock@oracle.com>2019-09-23 14:12:54 +0100
commit01cc754d45d8d6416a0b5462d0645efd448a95b3 (patch)
tree6afeff18263d1be0d5f936ea1e3837fbfd7680ef /libctf/ctf-dump.c
parent1ba0a754ad8c035eac5f7476002ca32b6fd560ec (diff)
downloadbinutils-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 'libctf/ctf-dump.c')
0 files changed, 0 insertions, 0 deletions