diff options
author | Alan Modra <amodra@gmail.com> | 2025-01-04 13:39:20 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-01-04 19:15:56 +1030 |
commit | 003ced705f6d4c10b7f0fb96acf7ec2db58f902e (patch) | |
tree | af8b13a906b8bdb588e211fe6ff303f049f87c1d /gdb/testsuite/gdb.python/py-commands-breakpoint.c | |
parent | c232d080c4f05b16e998bd49d6e2d92c56b6421e (diff) | |
download | binutils-003ced705f6d4c10b7f0fb96acf7ec2db58f902e.zip binutils-003ced705f6d4c10b7f0fb96acf7ec2db58f902e.tar.gz binutils-003ced705f6d4c10b7f0fb96acf7ec2db58f902e.tar.bz2 |
ELF sec_info memory leaks
Use the bfd's objalloc memory so we don't need to free anything
attached to elf_section_data sec_info. Other uses of sec_info that
need to allocate memory already use bfd_alloc.
* elf-eh-frame.c (_bfd_elf_parse_eh_frame): bfd_alloc sec_info.
* elf-sframe.c (_bfd_elf_parse_sframe): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-commands-breakpoint.c')
0 files changed, 0 insertions, 0 deletions