diff options
author | Alan Modra <amodra@gmail.com> | 2020-01-13 22:30:46 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-01-13 22:45:36 +1030 |
commit | a788aedd86da983faf0afef3cb41461118a2e9f2 (patch) | |
tree | 013d34de70329b9930b0b8f46f1418b32803c7a3 /binutils/ChangeLog | |
parent | 805f38bc551de820bcd7b31d3c5731ae27cf853a (diff) | |
download | gdb-a788aedd86da983faf0afef3cb41461118a2e9f2.zip gdb-a788aedd86da983faf0afef3cb41461118a2e9f2.tar.gz gdb-a788aedd86da983faf0afef3cb41461118a2e9f2.tar.bz2 |
PR23560, PR23561, readelf memory leaks
PR 23560
PR 23561
* dwarf.c (display_debug_frames): Move fde_fc earlier. Free
fde_fc col_type and col_offset.
* readelf.c (apply_relocations): Move symsec check earlier.
(free_debug_section): Free reloc_info.
(process_notes_at): Free pnotes on error path.
(process_object): Free dump_sects here..
(process_archive): ..not here.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4ad4280..c1f6d34 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,17 @@ 2020-01-13 Alan Modra <amodra@gmail.com> + PR 23560 + PR 23561 + * dwarf.c (display_debug_frames): Move fde_fc earlier. Free + fde_fc col_type and col_offset. + * readelf.c (apply_relocations): Move symsec check earlier. + (free_debug_section): Free reloc_info. + (process_notes_at): Free pnotes on error path. + (process_object): Free dump_sects here.. + (process_archive): ..not here. + +2020-01-13 Alan Modra <amodra@gmail.com> + PR 25362 * nm.c (display_rel_file): Free dyn_syms. |