summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Main.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2014-05-08 00:58:55 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2014-05-08 00:58:55 -0700
commitfa65eeb492ebea6f2eb926eb5e6c30da2173a9a4 (patch)
tree9a3f032ac9513036887020b90b6220bcb61378ba /Source/Core/DolphinWX/Main.cpp
parentb4e1ac5f080d630d33842822b8e3470d2c62abc3 (diff)
Apparently the debug build has not been freeing memory since 2008. Undo that.
Diffstat (limited to 'Source/Core/DolphinWX/Main.cpp')
-rw-r--r--Source/Core/DolphinWX/Main.cpp6
1 files changed, 0 insertions, 6 deletions
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);