> base class?) Then the original OBConversion gets destroyed. It tries > to delete the source again as part of "delete pLineEndBuf" but it has > already been deleted. If we had access to the destructor we could fix > this.
This makes sense. I think a good solution would be to use a smart pointer for this -- it will detect the double-delete behavior. Chris, I think we already use this in a few places, so why don't we use the shared_ptr type when available? -Geoff ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ OpenBabel-Devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbabel-devel
