[RFA] Fix two memory leaks
Tue Oct 23 21:22:00 GMT 2012
While testing some recent work, I noticed that valgrind was reporting
two memory leaks related to linespec parsing/SaL resolution.
The following patch fixes both leaks.
2012-10-23 Keith Seitz <firstname.lastname@example.org>
* breakpoint.c (clear_command): Add cleanup for
sals.sals if an argument is given.
* linespec.c (parse_linespec): Do cleanups after
parsing a convenience variable.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1281 bytes
Desc: not available
More information about the Gdb-patches