This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12243] New: Memory leak
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 19 Nov 2010 22:40:19 +0000
- Subject: [Bug gdb/12243] New: Memory leak
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12243
Summary: Memory leak
Product: gdb
Version: HEAD
Status: NEW
Severity: enhancement
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: jan.kratochvil@redhat.com
There is a check-in:
http://sourceware.org/ml/gdb-cvs/2010-11/msg00094.html
gdb/
Fix stale memory references.
* elfread.c (elf_symfile_read): Replace xmalloc by bfd_alloc, drop
xfree, new comment.
But during SIGINT it may leak memory now. As this function is already ELF
specific it should be possible to access the internal BFD ELF field to check if
it the memory reference is set there.
Some binutils/ utilities should be fixed accordingly.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.