[BusyBox] How to test for memory leak?

Matthew Bloch matthew at bytemark.co.uk
Mon Nov 4 16:30:03 UTC 2002


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).

-- 
Matthew Bloch         Bytemark Computer Consulting Limited
                                http://www.bytemark.co.uk/
                                  tel. +44 (0) 8707 455026




More information about the busybox mailing list