diff options
author | Konstantin Isakov <ikm@zbackup.org> | 2023-12-10 21:45:32 -0300 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-12-11 14:46:00 +1030 |
commit | 42cb93f57d582d4ed365622c7eb970547c629176 (patch) | |
tree | 866c24387a579466b105cc1249534de806554709 | |
parent | 4cf28100ec6e4e4b4dbc1a483f2dbccfcdc2ab4d (diff) | |
download | gdb-42cb93f57d582d4ed365622c7eb970547c629176.zip gdb-42cb93f57d582d4ed365622c7eb970547c629176.tar.gz gdb-42cb93f57d582d4ed365622c7eb970547c629176.tar.bz2 |
bfd_find_nearest_line leaks dwarf_rnglists_buffer
* dwarf2.c (_bfd_dwarf2_cleanup_debug_info): Free dwarf_rnglists_buffer.
-rw-r--r-- | bfd/dwarf2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 22e6b46..8c14d0f 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -6123,6 +6123,7 @@ _bfd_dwarf2_cleanup_debug_info (bfd *abfd, void **pinfo) free (file->dwarf_line_str_buffer); free (file->dwarf_str_buffer); free (file->dwarf_ranges_buffer); + free (file->dwarf_rnglists_buffer); free (file->dwarf_line_buffer); free (file->dwarf_abbrev_buffer); free (file->dwarf_info_buffer); |