In file No file:

void* LeakDetector::operator new (size_t size)

Overridden operator new

Documentation

Overridden operator new. Allocates memory for the object and remembers that along with a unique ID and writes a message into log file including that ID. Later we can find what was allocated and not freed.
Returns:
Pointer to the newly allocated space.
Parameters:
size - Size of object to allocate.
Author:
Venca
See Also:
GMessage, operator delete

alphabetic index hierarchy of classes


generated by doc++