|
-
October 24th, 2008, 11:22 AM
#1
[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?
Last edited by wlof; October 24th, 2008 at 11:52 AM.
Reason: Problem solved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|