commit | 99916599dab459d18f56da6053ef0b51bbba62f8 | [log] [tgz] |
---|---|---|
author | Dmitry-Me <wipedout@yandex.ru> | Thu Oct 23 11:37:03 2014 +0400 |
committer | Dmitry-Me <wipedout@yandex.ru> | Thu Oct 23 11:37:03 2014 +0400 |
tree | a1e9bf46567af567dce6c2befa5801bc585f9d71 | |
parent | d211bb13512cf4edb408e2c4badbcf4100ce0fd0 [diff] [blame] |
Enable dump of debug heap memory leaks
diff --git a/xmltest.cpp b/xmltest.cpp index 56b6c82..c5dd135 100644 --- a/xmltest.cpp +++ b/xmltest.cpp
@@ -279,6 +279,8 @@ { #if defined( _MSC_VER ) && defined( DEBUG ) _CrtMemCheckpoint( &startMemState ); + // Enable MS Visual C++ debug heap memory leaks dump on exit + _CrtSetDbgFlag(_CrtSetDbgFlag(_CRTDBG_REPORT_FLAG) | _CRTDBG_LEAK_CHECK_DF); #endif #if defined(_MSC_VER) || defined(MINGW32) || defined(__MINGW32__)