Re: Memory leak in dwarf2.c

2019-09-01 Thread Alan Modra
On Sun, Sep 01, 2019 at 10:27:03PM +0200, Torsten Rupp wrote: > In function_bfd_dwarf2_slurp_debug_info(), line 4367 the following call > is made for the scoped variable debug_filename: > > debug_filename = bfd_follow_build_id_debuglink (abfd, DEBUGDIR); > > The returned value is allocated,

Memory leak in dwarf2.c

2019-09-01 Thread Torsten Rupp
Dear developers, I detected (with the help of valgrind) a memory leak in dwarf2.c of binutils 2.32: In function_bfd_dwarf2_slurp_debug_info(), line 4367 the following call is made for the scoped variable debug_filename: debug_filename = bfd_follow_build_id_debuglink (abfd, DEBUGDIR); The

[Bug binutils/22191] memory leak in dwarf2.c in gnu binutils 2.29

2017-09-24 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22191 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug binutils/22191] memory leak in dwarf2.c in gnu binutils 2.29

2017-09-24 Thread cvs-commit at gcc dot gnu.org
a26a013f22a19e2c16729e64f40ef8a7dfcc086e Author: Alan Modra Date: Sun Sep 24 17:10:14 2017 +0930 PR22191, memory leak in dwarf2.c table->sequences is a linked list before it is replaced by a bfd_alloc array in sort_line_sequences. PR 22191 * dwarf2.c (decode_line_info): Properly free l

[Bug binutils/22191] memory leak in dwarf2.c in gnu binutils 2.29

2017-09-24 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22191 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug binutils/22191] New: memory leak in dwarf2.c in gnu binutils 2.29

2017-09-23 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22191 Bug ID: 22191 Summary: memory leak in dwarf2.c in gnu binutils 2.29 Product: binutils Version: 2.29 Status: UNCONFIRMED Severity: normal Priority: P2