Contact Name

Nick West.


This package is a very simple leak checker facility developed as part of the framework to provide the first level of defense against memory leaks. It can be used to allow basic leak checking to be built into package validation. It is not a substitute for a full function leak checker such as Valgrind.

User Interface

To use LeakChecker for a class, the cpp macro LEA_CTOR must be inserted into each of its constructors and LEA_DTOR into its destructor.

To get leak statistics the LeaLeakChecker singleton has to be accessed:-

LeaLeakChecker* lea = LeaLeakChecker::Instance();
after which the methods GetNumCreated and GetNumActive can be used.

Database Access


Configuring & Running


Further Links

Nick West Last Modified: $Date: 2004/05/27 17:50:37 $