|
From: Elizabeth B. <sog...@ya...> - 2002-09-01 20:12:14
|
Stein Nyg=E5rd <ste...@ge...> writes: > How is it possible to be sure if your program is not leaking any > memory? Is there anyway to test a program for leaks? There are various programs and libraries that help one keep track of this sort of thing. An email just came in and mentioned BoundsChecker: <http://www.compuware.com/products/devpartner/bounds/> There is also electric fence (efence) but I am not sure whether or not that has been ported to mingw. You may want to review this: <http://netlib.bell-labs.com/cm/cs/cstr/123.ps.gz> IIRC it contains a good primer pointers (found at: <http://www.lysator.liu.se/c/c-www.html> ; contains general C info) Elizabeth |