aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-12-05 16:31:13 +1030
committerAlan Modra <amodra@gmail.com>2023-12-05 18:20:51 +1030
commit4cd766148361c2754c88e725779912f28651c559 (patch)
tree09e370c3c2d387e77c75295d0372189c9a8f9eea /bfd/bfd-in2.h
parentc53b543736cd3b64adb368b0a575241a257cc003 (diff)
downloadbinutils-4cd766148361c2754c88e725779912f28651c559.zip
binutils-4cd766148361c2754c88e725779912f28651c559.tar.gz
binutils-4cd766148361c2754c88e725779912f28651c559.tar.bz2
Don't use free_contents in _bfd_elf_slurp_version_tables
In commit 7ac6d0c38c36 I made more use of free_contents in _bfd_elf_slurp_version_tables, a variable added to tag the case where raw verneed and verdefs have been read locally by the function, and thus should be freed before returning. In retrospect it may have been better to do without the extra variable entirely. It's easy to infer when "contents" should be freed, costing a little extra on an error path but costing less elsewhere. * elf.c (_bfd_elf_slurp_version_tables): Don't use free_contents.
Diffstat (limited to 'bfd/bfd-in2.h')
0 files changed, 0 insertions, 0 deletions