[Patch] More responsive QUITs

Tom Tromey tromey@redhat.com
Mon Jul 25 21:41:00 GMT 2011


>>>>> "Sterling" == Sterling Augustine <saugustine@google.com> writes:

Sterling> The calling function (completer.c:308 and below) doesn't free the
Sterling> individual elements either, so there is a more general gdb leak. I'll
Sterling> fix both.

I think location_completer is moving the items from one list to another,
then relying on the caller to eventually free them.

This makes me wonder whether the callers of
make_file_symbol_completion_list also need cleanups though.

Tom



More information about the Gdb-patches mailing list