CCMalloc can help you track down memory related problems with C/C++ programs. WWW: http://www.inf.ethz.ch/personal/biere/projects/ccmalloc/