Created attachment 6011 [details] HTML report showing the execution path that leaks memory Analogous to bug 13308, but affecting gdb.inferiors()
CVSROOT: /cvs/src Module name: src Changes by: pmuldoon@sourceware.org 2011-10-20 13:34:17 Modified files: gdb : ChangeLog gdb/python : py-breakpoint.c py-inferior.c Log message: 2011-10-20 Phil Muldoon <pmuldoon@redhat.com> PR python/13308 PR python/13309 * python/py-breakpoint.c (gdbpy_breakpoints): Fix List reference leak. * python/py-inferior.c (gdbpy_inferiors): Fix List reference leak. Delete unused variables. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13445&r2=1.13446 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-breakpoint.c.diff?cvsroot=src&r1=1.26&r2=1.27 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-inferior.c.diff?cvsroot=src&r1=1.15&r2=1.16
Fixed and committed.