aboutsummaryrefslogtreecommitdiff
path: root/bfd/pef.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-03-22 10:13:46 +1030
committerAlan Modra <amodra@gmail.com>2023-03-22 10:39:18 +1030
commitbcefc6be9754d45fb9391993e6daaf01a68d9bd5 (patch)
tree67e48bec39218f0ae02f1c616a8ab53337437b36 /bfd/pef.h
parent347ab6177835a74d38b4c14042dc0a0325e6dce7 (diff)
downloadgdb-bcefc6be9754d45fb9391993e6daaf01a68d9bd5.zip
gdb-bcefc6be9754d45fb9391993e6daaf01a68d9bd5.tar.gz
gdb-bcefc6be9754d45fb9391993e6daaf01a68d9bd5.tar.bz2
coff_get_normalized_symtab bfd_release
We can't free "internal" on errors, since bfd_coff_swap_sym_in may call bfd_alloc. For example, _bfd_XXi_swap_sym_in may even create new sections, which use bfd_alloc'd memory. If "internal" is freed, all more recently bfd_alloc'd memory is also freed. * coffgen.c (coff_get_normalized_symtab): Don't bfd_release on error.
Diffstat (limited to 'bfd/pef.h')
0 files changed, 0 insertions, 0 deletions