From fa65eeb492ebea6f2eb926eb5e6c30da2173a9a4 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Thu, 8 May 2014 00:58:55 -0700 Subject: Apparently the debug build has not been freeing memory since 2008. Undo that. --- Source/Core/DolphinWX/Main.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Source/Core/DolphinWX/Main.cpp') diff --git a/Source/Core/DolphinWX/Main.cpp b/Source/Core/DolphinWX/Main.cpp index 76f001b180..47e70ccb50 100644 --- a/Source/Core/DolphinWX/Main.cpp +++ b/Source/Core/DolphinWX/Main.cpp @@ -232,12 +232,6 @@ bool DolphinApp::OnInit() } #endif // wxUSE_CMDLINE_PARSER -#if defined _DEBUG && defined _WIN32 - int tmpflag = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG); - tmpflag |= _CRTDBG_DELAY_FREE_MEM_DF; - _CrtSetDbgFlag(tmpflag); -#endif - // Register message box and translation handlers RegisterMsgAlertHandler(&wxMsgAlert); RegisterStringTranslator(&wxStringTranslator); -- cgit v1.2.3