Archive for October, 2008

Unit-testing memory leaks

October 31, 2008

Memory leaks are a serious problem to those who manage their own pointers. So it would be nice to be able to check unit tests for memory leaks. Here’s how to do it with CppUnit. This will work only in Visual Studio and only in Debug, because it uses the CRT debugging facilities.

(more…)