First of all; I used Visual Leak Detector to spot those leaks.
It very non-intrusive to use (just an extra include, plus linking a library),
and easy to configure, and it's free.
http://dmoulding.googlepages.com/vld
I will try to run this version once I find a binary and the time to do the test.
2009-06-13 07:06:21 UTC in Hugin