[RFA] Fix double free

Keith Seitz keiths@redhat.com
Sat Jul 18 00:53:00 GMT 2009


Hi,

An insight user (yes, there are still a few of us ;-) noticed that 
insight would crash when using gdb's "search" command. Turns out this is 
a simple cleanup buglet. I think it is easier to read the patch than 
explain, so I'll leave it at that.

Ok?
Keith

ChangeLog
2009-07-17  Keith Seitz  <keiths@redhat.com>

	* source.c (forward_search_command): Don't fclose the stream,
	just run the cleanups.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cleanup-buglet.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20090718/73dd60c2/attachment.ksh>


More information about the Gdb-patches mailing list