How to ignore false positive memory leaks from _CrtDumpMemoryLeaks?
Posted
by Marlon
on Stack Overflow
See other posts from Stack Overflow
or by Marlon
Published on 2010-02-24T03:19:15Z
Indexed on
2010/04/08
14:03 UTC
Read the original article
Hit count: 860
It seems whenever there are static objects, _CrtDumpMemoryLeaks returns a false positive claiming it is leaking memory. I know this is because they do not get destroyed until after the main() (or WinMain) function. But is there any way of avoiding this? I use VS2008.
© Stack Overflow or respective owner