Appears it isn’t possible.
Some thoughts:
mpatrol?
http://lists-archives.org/mingw-users/04162-best-memory-checker.html
MSS?
http://lists-archives.org/mingw-users/04173-best-memory-checker.html
this one? http://wyw.dcweb.cn/leakage.htm
http://www.mingw.org/wiki/HOWTO_compile_and_use_the_mpatrol_memory_leak_detection_library
http://goog-perftools.sourceforge.net/doc/tcmalloc.html maybe, maybe the DWW GC (http://www.hpl.hp.com/personal/Hans_Boehm/gc/leak.html)
perhaps google’s perf tools heap checker would work, too?
http://stackoverflow.com/questions/1013337/memory-leak-checker-for-windows-that-supports-gcc lists a few, too [just found it]
http://goog-perftools.sourceforge.net/doc/heap_checker.html
also might help with leak checking in doze
http://www.flipcode.com/archives/Presenting_A_Memory_Manager.shtml
maybe
Just for the records: The Memory Manager is no longer available for
download from flipcode, but instead from the author’s site
http://www.paulnettle.com/
http://blackcat.ca/code/vmalloc
perhaps
http://stackoverflow.com/questions/413477/is-there-a-good-valgrind-substitute-for-windows
After a few days of searching: http://www.softwareverify.com/cpp/memory/index.html
just make sure you compile with: “gcc -gstabs1″
I know it’s not free but if you really need it take it, I wasted a lot of time with all the solutions above and more. This one worked and it’s really really easy to install & use:
a. add “-gstabs1″ (gcc -gstabs1) / compile/link (ofc)
b. install
c. enjoy