This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] python/py-breakpoint.c, fix memory leak


>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:

Michael> 2011-02-27  Michael Snyder  <msnyder@vmware.com>
Michael> 	* python/py-breakpoint.c (bppy_get_commands): Fix memory leak.

This is good but not sufficient.
I think you also need to install a cleanup for cmdstr after it is
assigned.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]