***SPAM*** Re: ***SPAM*** Re: [ofa-general] Re: [PATCH] infiniband-diags: Fix memory leaks on IBERROR and IBPANIC
Jason Gunthorpe
jgunthorpe at obsidianresearch.com
Fri Mar 13 09:40:00 PDT 2009
On Fri, Mar 13, 2009 at 01:00:26PM +0100, Bart Van Assche wrote:
> Letting an application deallocate all allocated resources before it
> exits makes it easier to analyze these applications with run-time
> analysis tools like Valgrind. Valgrind is able to perform memory leak
> checking and file descriptor leak detection.
This is about what to do on an error condition in the program, it
doesn't make much sense to do a leak detection analysis with valgrind
on error paths that result in process exit.
Jason
More information about the general
mailing list