RFA: fix memory leak in "source" command

Pedro Alves pedro@codesourcery.com
Mon Nov 10 20:50:00 GMT 2008


On Monday 10 November 2008 19:37:09, Tom Tromey wrote:
> Valgrind pointed out that the "source" command leaks full_pathname.
> 
> The fix is to add a cleanup for it.  This patch also makes sure to run
> the cleanups on early return from the function.
> 
> Built and regested on x86-64 (compile farm).
> Ok?
> 

Ok,

:REVIEWMAIL:

-- 
Pedro Alves



More information about the Gdb-patches mailing list