the AAFDLL destructor simply throws away singleton ptr; this
ptr is not a smart pointer, so assigning a NULL does not
ultimately relinquish the ptr.
this was reported as a memory leak using DebugNew under
CodeWarrior 8.3 on OS10.2.3
Is this somehow related to Bug #524563 ??
Here is the relevant code that I have - which is supposed to
be the "tip" [aaflib.cpp] :
//********************************
//
// Destructor for the base class
AAFDLL::~AAFDLL()
{
assert(this == _singleton);
// Reset the entry point function pointers to NULL.
ClearEntrypoints();
// Clear the reference to the singleton
_singleton = NULL;
}