Memory Leak detection always turned on

  • Thread starter Thread starter perdrix52
  • Start date Start date
P

perdrix52

Guest
Whenever I run my debug build under VS2017 15.9.4 I get a Memory Leak report:

Detected memory leaks!
Dumping objects ->
{6148} normal block at 0x00007FF4FB5ED270, 64 bytes long.
Data: < > 01 00 00 00 00 00 00 00 01 00 00 00 CD CD CD CD
{2622} normal block at 0x00007FF4FDB88B10, 64 bytes long.
Data: < > 01 00 00 00 06 00 00 00 03 00 00 00 03 00 00 00
Lots more lines like that ...

But I never turned this on, and don't want it as I use Visual Leak Detector which is far more accurate and helpful.

I tried adding _CrtSetDbgFlag(_CRTDBG_CHECK_DEFAULT_DF); to my code at the start of WinMain() but I still get the report though with many fewer entries. I Haven't defined DEBUG_NEW or any of the _CRT... pre-processor flags.

What can I do to turn this off ? Or if its a bug is it fixed in a later update.

Thanks,
David


Dave Partridge

Continue reading...
 
Back
Top