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