]> granicus.if.org Git - imagemagick/commitdiff
Tweaked memory leak detection options.
authorDirk Lemstra <dirk@lemstra.org>
Sat, 20 Oct 2018 07:13:13 +0000 (09:13 +0200)
committerDirk Lemstra <dirk@lemstra.org>
Sat, 20 Oct 2018 08:02:44 +0000 (10:02 +0200)
MagickCore/nt-base.c

index 9edba4b3f64af70831ee032b5e5f78b70f890b5b..86f8ffbeb820331e05fa3f22923ccd7535e1fd27 100644 (file)
@@ -2796,10 +2796,14 @@ MagickPrivate void NTWindowsGenesis(void)
         debug;
 
       debug=_CrtSetDbgFlag(_CRTDBG_REPORT_FLAG);
-      debug|=_CRTDBG_CHECK_ALWAYS_DF | _CRTDBG_DELAY_FREE_MEM_DF |
-        _CRTDBG_LEAK_CHECK_DF;
+      //debug |= _CRTDBG_CHECK_ALWAYS_DF;
+      debug |= _CRTDBG_DELAY_FREE_MEM_DF;
+      debug |= _CRTDBG_LEAK_CHECK_DF;
       (void) _CrtSetDbgFlag(debug);
-      _ASSERTE(_CrtCheckMemory());
+
+      //_ASSERTE(_CrtCheckMemory());
+
+      //_CrtSetBreakAlloc(42);
     }
 #endif
 #if defined(MAGICKCORE_INSTALLED_SUPPORT)