This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/14387] New: Memory leak in gdb/python/py-stopevent.c:66
- From: "m at bruenink dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 23 Jul 2012 11:12:58 +0000
- Subject: [Bug python/14387] New: Memory leak in gdb/python/py-stopevent.c:66
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14387
Bug #: 14387
Summary: Memory leak in gdb/python/py-stopevent.c:66
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned@sourceware.org
ReportedBy: m@bruenink.de
Classification: Unclassified
In py-stopevent.c:66 a PyList is created which is than attached to a stop event
by calling create_breakpoint_event_object. This list is never garbage
collected.
Decrementing the reference count to the list after line 83 fixed the problem
for me.
--
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.