From b6f248e8a633a8baf2b3b30645fbc11ec3cc813b Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 28 Dec 2006 08:45:57 +0000 Subject: [PATCH] fix memory problem --- src/SMDS/SMDS_VolumeTool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMDS/SMDS_VolumeTool.cxx b/src/SMDS/SMDS_VolumeTool.cxx index d2cf317a7..a881eb9ac 100644 --- a/src/SMDS/SMDS_VolumeTool.cxx +++ b/src/SMDS/SMDS_VolumeTool.cxx @@ -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 -- 2.39.2