diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2025-02-10 14:40:00 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2025-02-28 14:16:29 +0000 |
commit | bf89fce0cf9f94f451f584877019d2c7ba227154 (patch) | |
tree | d21a772fda37b7109d2941e19e20b6ce03eb29d5 /libctf | |
parent | a3177d19fb23df50419bd44d945090bb4fcc8891 (diff) | |
download | binutils-bf89fce0cf9f94f451f584877019d2c7ba227154.zip binutils-bf89fce0cf9f94f451f584877019d2c7ba227154.tar.gz binutils-bf89fce0cf9f94f451f584877019d2c7ba227154.tar.bz2 |
readelf, objdump: fix ctf dict leak
ctf_archive_next returns an opened dict, which must be closed by the caller.
Thanks to Alan Modra for spotting this.
binutils/
* objdump.c (dump_ctf): Close dict.
* readelf.c (dump_section_as_ctf): Likewise.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions