[patch] Fix completer access of an already freed memory

Daniel Jacobowitz drow@false.org
Mon Nov 24 20:08:00 GMT 2008


On Mon, Nov 24, 2008 at 09:32:54AM -0700, Tom Tromey wrote:
> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> 
> Jan> 2008-11-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
> Jan> 	Fix access of an already freed memory.
> Jan> 	* parse.c (parse_field_expression): Call xstrdup on `*name'.
> Jan> 	* completer.c (expression_completer): Free fieldname.
> 
> Thanks.  FWIW, this looks reasonable to me.  I can't approve it though.

Good enough for me - this is OK, thanks.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list