Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Memory Leak Option Problem

$
0
0

I hope someone can help me out here.

I have removed all defines and libraries for memory leak detection from my code like:

#define _CRTDBG_MAP_ALLOC #include <stdlib.h> #include <crtdbg.h>_CrtDumpMemoryLeaks();_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );

_CrtSetReportMode( _CRT_ERROR, _CRTDBG_MODE_DEBUG );

but still have memory leak displayed after application exit.

disabling the memory leak detection is not an option for me. please help


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>