|
From: Ken S. <ken...@ya...> - 2005-09-11 21:35:45
|
In my application, Amesos, http://software.sandia.gov/trilinos/packages/amesos/index.html, many memory leaks are not found by valgrind 2.2 and 3.01. Pointers (or other structures) defined in one of the Amesos classes, and allocated but not deallocated are not identified as being lost or even reachable. I have even added a bogus pointer, allocated space for it using new int[10], never deallocating it. This is not caught by valgrind 3.01. (I did not check 2.2 on this particular case). These memory leaks are not caught when the Amesos classes are created through a factory interface, but they are caught when the Amesos classes are created directly (not through the factory interface). Ken Ken Stanley 440 774 4322 7AM-9PM Eastern Time |