This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: fix memory leak in "source" command


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]