Commit cd35dd6a authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Windows : Do not use CRT routine to dump memory leaks.

Its output is useless,and, in case of large output, it also may prevent
with search_pattern_in_file.inc from working.
parent dd229430
...@@ -200,7 +200,6 @@ Voluntary context switches %ld, Involuntary context switches %ld\n", ...@@ -200,7 +200,6 @@ Voluntary context switches %ld, Involuntary context switches %ld\n",
_CrtSetReportMode( _CRT_ASSERT, _CRTDBG_MODE_FILE ); _CrtSetReportMode( _CRT_ASSERT, _CRTDBG_MODE_FILE );
_CrtSetReportFile( _CRT_ASSERT, _CRTDBG_FILE_STDERR ); _CrtSetReportFile( _CRT_ASSERT, _CRTDBG_FILE_STDERR );
_CrtCheckMemory(); _CrtCheckMemory();
_CrtDumpMemoryLeaks();
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment