This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix double free
On Fri, Jul 17, 2009 at 11:12 PM, Keith Seitz<keiths@redhat.com> wrote:
> 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.
>
"works for me".
Thanks, please check in.
[Heh, after this many years it's weird saying that.]