--- trunk/src/io/DumpReader.cpp 2014/05/31 22:35:05 2000 +++ trunk/src/io/DumpReader.cpp 2015/03/05 16:30:23 2069 @@ -105,7 +105,7 @@ namespace OpenMD { if (worldRank == 0) { #endif - inFile_->~istream(); + delete inFile_; #ifdef IS_MPI @@ -245,7 +245,6 @@ namespace OpenMD { readSet(whichFrame); if (needCOMprops_) { - Snapshot* s = info_->getSnapshotManager()->getCurrentSnapshot(); Thermo thermo(info_); Vector3d com;