New issue 86 by W.Wilber...@gmail.com: Detected memory leaks in debug
version
http://code.google.com/p/ctemplate/issues/detail?id=86
version:ctemplate-2.0
Everything ok when release mode.
But when I change to debug mode, vc show Detected memory leaks.
So I write a small program, and build dll with md/mt/mdd/mtd, etc..
And I can't check release version "memory leak".
This one ok:
testcase .\memory_leak_dll_mtd.exe
This two have memory leak:
testcase .\memory_leak_dll_mdd.exe
testcase .\memory_leak_static_mtd.exe
Attachments:
memory_leak.cpp 807 bytes
Makefile 1.2 KB
result_vc8.txt 3.2 KB
Isn't this a dupe of
http://code.google.com/p/ctemplate/issues/detail?id=42 ?
Yes, I think it is same issue. So, It will be fixed in the future? Or just
let it go :)
Comment #3 on issue 86 by olafv...@gmail.com: Detected memory leaks in
debug version
http://code.google.com/p/ctemplate/issues/detail?id=86
Your detector is broken, so you'll have to ask MS. ;)
But why use a global pointer?
Why not?
See issue 42.