aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-subr.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-04-19 17:05:02 +0930
committerAlan Modra <amodra@gmail.com>2020-04-20 08:15:05 +0930
commitceb9bf11b99f4a1d4a321e6e64c01f34a185cd18 (patch)
treea68e8ecc157f39ab442a3c25a968321448783de7 /libctf/ctf-subr.c
parent2efec98b28bbc89fc8e062709c7e28cc8a56ee40 (diff)
downloadgdb-ceb9bf11b99f4a1d4a321e6e64c01f34a185cd18.zip
gdb-ceb9bf11b99f4a1d4a321e6e64c01f34a185cd18.tar.gz
gdb-ceb9bf11b99f4a1d4a321e6e64c01f34a185cd18.tar.bz2
readelf memory leaks
This fixes two leaks found in the new code supporting display of dynamic symbols retrieved via dynamic tags. * readelf.c (get_num_dynamic_syms): Formatting. Don't return on error without freeing. (process_dynamic_section): Don't recreate dynamic symbols from dynamic tag info when the dynamic symbols have already been read via section headers.
Diffstat (limited to 'libctf/ctf-subr.c')
0 files changed, 0 insertions, 0 deletions