[SOLVED] False memory leak
Hello all,
In order to track and correct memory leaks in my program, I've been using the crtdbg.h tools with the _CRTDBG_MAP_ALLOC symbol defined.
I was able to correct every memory leak. My problem is that the _CrtDumpMemoryLeaks() function launched at application exit still reports two leaks. However, after checking with the step-by-step debugger, I'm sure there is no leak: the destructor for the object where the leaks happen is called and both pointers are delete'd.
It's not really a big problem, but I'd like to know what could cause the function to report memory leaks when there are none. I've tried Googl'ing on the issue but I can't seem to find anything beside's "how to use crtdbg.h" tutorials. Can anyone help?