[BusyBox] How to test for memory leak?

Erik Andersen andersen at codepoet.org
Sun Nov 10 22:04:03 UTC 2002


On Mon Nov 04, 2002 at 11:30:32PM +0000, Matthew Bloch wrote:
> On Monday 04 November 2002 19:59, Glenn R.Heard Jr. wrote:
> > How do you go about testing a program for a memory leak?
> 
> Valgrind will tell you the moment you overwrite the last pointer to non-freed 
> memory (though I think you'll need to link to glibc).

FYI, I've built valgrind vs uClibc and it works just fine...

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list