--On Tuesday, December 15, 2009 5:57 AM -0800 BigPilot
<
bigp...@linuxmail.org> wrote:
> I have used Visual Leak Detector, a free open-source leak detector,
> for years with wxWidgets and Visual C++ and it helped me squash a lot
> of hard-to-find memory leaks. Try it.
Agreed, that's a good one.
For harder to find ones, look at the gflags utility that's part of
Microsoft's free-to-download debugging tools package. It can change the
kernel allocation flags so that you get extra guard pages and fast free
operations, so that any touching of a page after it's freed is immediately
caught by the hardware.
<
http://www.microsoft.com/whdc/DevTools/Debugging/default.mspx>