void CMemLeakDetect::End() { isLocked = true; _CrtSetAllocHook(pfnOldCrtAllocHook); dumpMemoryTrace(); cleanupMemoryTrace(); cleanupSymInfo(); GlobalFree(m_pSymbol); g_pMemTrace = NULL; FreeLibrary(m_k32); }
void CallStack::deinitSymbols() { cleanupSymInfo(); GlobalFree(m_pSymbol); }