libctf: fix double-free on ctf_compress_write error path
authorNick Alcock <nick.alcock@oracle.com>
Sat, 13 Jul 2019 19:44:38 +0000 (20:44 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Thu, 3 Oct 2019 16:04:55 +0000 (17:04 +0100)
commit3dde2c915e2c68fdda36febac618595561ed87f8
tree7e723c7186e6400ad0a9160fca13276857d48758
parent5537f9b9a3c46c3898e274a52f6bb0eb8d293bb8
libctf: fix double-free on ctf_compress_write error path

We were freeing the compressed data buffer twice if compression failed.

v4: Fix commit message.
v5: fix tabdamage.

libctf/
* ctf-create.c (ctf_compress_write): Fix double-free.
libctf/ChangeLog
libctf/ctf-create.c
This page took 0.024516 seconds and 4 git commands to generate.