diff --git a/libctf/ChangeLog b/libctf/ChangeLog index c5d52f29d6..d4a94bb27c 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,3 +1,8 @@ +2021-03-25 Nick Alcock + + * testsuite/libctf-writable/symtypetab-nonlinker-writeout.c: Don't + leak buf. + 2021-03-25 Nick Alcock PR libctf/27628 diff --git a/libctf/testsuite/libctf-writable/symtypetab-nonlinker-writeout.c b/libctf/testsuite/libctf-writable/symtypetab-nonlinker-writeout.c index 98144de639..bdc3faa944 100644 --- a/libctf/testsuite/libctf-writable/symtypetab-nonlinker-writeout.c +++ b/libctf/testsuite/libctf-writable/symtypetab-nonlinker-writeout.c @@ -202,6 +202,7 @@ try_maybe_reporting (int report) } ctf_file_close (fp); + free (buf); return;