diff --git a/reactos/lib/comctl32/commctrl.c b/reactos/lib/comctl32/commctrl.c index bb1464c8593..f1dab02ba15 100644 --- a/reactos/lib/comctl32/commctrl.c +++ b/reactos/lib/comctl32/commctrl.c @@ -219,9 +219,11 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) TRACE("Subclassing atom deleted: %p\n", COMCTL32_aSubclass); COMCTL32_aSubclass = NULL; +#if 0 /* Can't destroy heap, other DLLs might have DPA items in it */ /* destroy private heap */ HeapDestroy (COMCTL32_hHeap); TRACE("Heap destroyed: %p\n", COMCTL32_hHeap); +#endif COMCTL32_hHeap = NULL; break; }