fix memory problem

This commit is contained in:
eap 2006-12-28 08:45:57 +00:00
parent 1b151a4568
commit b6f248e8a6

View File

@ -1276,7 +1276,7 @@ bool SMDS_VolumeTool::IsFreeFace( int faceIndex )
continue; // opposite side
}
// remove a volume from volNbShared map
volNbShared.erase( vNbIt );
volNbShared.erase( vNbIt-- );
}
// here volNbShared contains only volumes laying on the