This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch] More responsive QUITs
>>>>> "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