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: [patch] Fix completion memory double-free


> 2008-12-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Fix memory double-free.
> 	* completer.c (line_completion_function): Clear LIST after called xfree.

Approved.

> gdb/testsuite/
> 2008-12-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* gdb.base/completion.exp (Completing non-existing component): New test.

And approved.

I really wonder if the "sleep 1" is needed in this case. A 1sec sleeping
delay is a LOT of time :-(, particularly since we can't run more than
one testcase at a time.

Thanks for the fix!
-- 
Joel


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