diff options
author | Alan Modra <amodra@gmail.com> | 2023-03-29 22:31:15 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-03-30 15:18:02 +1030 |
commit | ea7672c10e0b762c02fd40ce94d490b56bc14675 (patch) | |
tree | a0a5df4f73e69223d1b8e6b569b09dcdae091561 /gdb/python/python-internal.h | |
parent | 45fec14c029491329d769eae29021b4cb0cdd2c3 (diff) | |
download | binutils-ea7672c10e0b762c02fd40ce94d490b56bc14675.zip binutils-ea7672c10e0b762c02fd40ce94d490b56bc14675.tar.gz binutils-ea7672c10e0b762c02fd40ce94d490b56bc14675.tar.bz2 |
Fix memory leak in bfd_get_debug_link_info_1
* opncls.c (bfd_get_alt_debug_link_info): Don't bother freeing
after bfd_malloc_and_get_section failure.
(get_build_id): Likewise.
(bfd_get_debug_link_info_1): Likewise. Free section contents
when crc not present.
* section.c (bfd_malloc_and_get_section): Document that the
buffer is NULL on error return.
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions