diff --git a/base/applications/taskmgr/precomp.h b/base/applications/taskmgr/precomp.h index 5a4f77a55d9..6b5aa223ed7 100644 --- a/base/applications/taskmgr/precomp.h +++ b/base/applications/taskmgr/precomp.h @@ -16,11 +16,6 @@ #include #include -#ifdef _DEBUG - #define _CRTDBG_MAP_ALLOC - #include -#endif - #define WIN32_NO_STATUS #include diff --git a/base/applications/taskmgr/taskmgr.c b/base/applications/taskmgr/taskmgr.c index 51e6d4a8fcf..44bc24b2f96 100644 --- a/base/applications/taskmgr/taskmgr.c +++ b/base/applications/taskmgr/taskmgr.c @@ -101,11 +101,6 @@ int APIENTRY wWinMain(HINSTANCE hInstance, TOKEN_PRIVILEGES tkp; HANDLE hMutex; -#ifdef _DEBUG - // Report any memory leaks on exit - _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); -#endif - /* check wether we're already running or not */ hMutex = CreateMutexW(NULL, TRUE, L"taskmgrros"); if (hMutex && GetLastError() == ERROR_ALREADY_EXISTS)