[RFA] Fix double free

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


On 07/17/2009 08:08 PM, Doug Evans wrote:
> The problem occurs twice in reverse_search_command as well.

Indeed it does! I did not even look!

Updated patch attached.

Keith

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

	* source.c (forward_search_command): Don't fclose the stream,
	just run the cleanups.
	(reverse_search_command): Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cleanup-buglet.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20090718/15371aeb/attachment.ksh>


More information about the Gdb-patches mailing list