User forums > Using Code::Blocks

Memory Leak Checkers for CB/ming gcc on XP; Re-Post to the correct forum now

(1/1)

staloysius333:
Sorry about folks.  I posed this message to the wrong forum & it's a re-post here.  Hope it doesn't cause a problem.

I need a memory leak checker for CB on XP using the mingw32 (gcc) compiler.  Does anyone know of one?

Thanks!

--Allen

thomas:
Most garbage collectors and custom allocators can be configured to check for memory leaks, and I think there is something built into wxWindows, too, never used that though.

Michael:
Hello,

May be this can help:

http://www.flipcode.com/articles/article_memoryleaks.shtml
http://www.embedded.com/story/OEG20020321S0021
http://wyw.dcweb.cn/leakage.htm (from http://www.mingw.org/MinGWiki/index.php/FAQ)
http://www.wxwidgets.org/manuals/2.6.2/wx_debuggingoverview.html#debuggingoverview
http://www.codeproject.com/cpp/MemoryHooks.asp
http://www.codeproject.com/tools/leakfinder.asp
(other links in CodeProject can be found by searching for "Memory leaks")

Best wishes,
Michael

Charon:
Hi

you can get a really nice one here :
http://www.flipcode.com/cgi-bin/fcarticles.cgi?show=64744

just add it to your program, read the readme.txt and voila!
if i remember right the only thing you need to change in your code is the order of includes.

good luck
Markus

Navigation

[0] Message Index

Go to full version