aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-09-09 20:15:44 +0930
committerAlan Modra <amodra@gmail.com>2025-09-10 06:51:22 +0930
commitaa644b671072db219853c95abb1c5956438f6212 (patch)
tree9bca6c68f6d92f89d270001b8f3396e429d08ddf /ld
parentb7e3459d2c08c16e85af69690eb7e42c824a447a (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
readelf: tidy dump_relr_relocationsHEADmaster
A comment in display_relocations said "RELRS has been freed by dump_relr_relocations". Except that hadn't happened on all return paths. Tidy that by freeing relrs allocated in dump_relr_relocations in that function, and relrs allocated in display_relocation in that function. * readelf.c (dump_relr_relocations): Only free relrs allocated in this function. (display_relocations): Free relrs here, on error return paths too.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions