Hi all, The built-in memory leak detection in MSVC2008 seems not to work (no line numbers), but I've found Visual Leak Detector to work amazingly well (given that I don't know what I'm doing): http://sites.google.com/site/dmoulding/vld
Basically, I installed that and followed the simple instructions, and then added "include <vld.h>" to the top of obconversion.h, and then ran "babel" in Debug mode with an SDF to SDF conversion. Converting 5 files, there are 80 memory leaks. Then I found that one of the memory leaks was one of my first contributions to OpenBabel: _frag_atoms = new OBBitVec(_pmol->NumAtoms());. By adding a delete to the destructor I got down to 70 leaks. If anyone's interested in the log file I can provide it. - Noel ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel