libctf: fix memory leak in a test
Harmless, but causes noise that makes it harder to spot other leaks. libctf/ChangeLog 2021-03-25 Nick Alcock <nick.alcock@oracle.com> * testsuite/libctf-writable/symtypetab-nonlinker-writeout.c: Don't leak buf.
This commit is contained in:
parent
0bd65ce30a
commit
15131809c2
@ -1,3 +1,8 @@
|
||||
2021-03-25 Nick Alcock <nick.alcock@oracle.com>
|
||||
|
||||
* testsuite/libctf-writable/symtypetab-nonlinker-writeout.c: Don't
|
||||
leak buf.
|
||||
|
||||
2021-03-25 Nick Alcock <nick.alcock@oracle.com>
|
||||
|
||||
PR libctf/27628
|
||||
|
@ -202,6 +202,7 @@ try_maybe_reporting (int report)
|
||||
}
|
||||
|
||||
ctf_file_close (fp);
|
||||
free (buf);
|
||||
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user