]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
fix memory problem
authoreap <eap@opencascade.com>
Thu, 28 Dec 2006 08:45:57 +0000 (08:45 +0000)
committereap <eap@opencascade.com>
Thu, 28 Dec 2006 08:45:57 +0000 (08:45 +0000)
src/SMDS/SMDS_VolumeTool.cxx

index d2cf317a74f7b5d0852cb231febe006d7ff009c8..a881eb9ac9fd3db741cd1a2347dc47ee5e42aca1 100644 (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