diff options
author | Alan Modra <amodra@gmail.com> | 2025-09-09 20:15:44 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-09-10 06:51:22 +0930 |
commit | aa644b671072db219853c95abb1c5956438f6212 (patch) | |
tree | 9bca6c68f6d92f89d270001b8f3396e429d08ddf /ld | |
parent | b7e3459d2c08c16e85af69690eb7e42c824a447a (diff) | |
download | binutils-master.zip binutils-master.tar.gz binutils-master.tar.bz2 |
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