From: san Date: Thu, 3 Mar 2005 15:18:07 +0000 (+0000) Subject: PAL8310 X-Git-Tag: V2_2_2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1bcdd6d40870be63ce38a118124a824da9dc4b11;p=modules%2Fsmesh.git PAL8310 --- diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index db8bc5f78..06dd09d73 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -992,8 +992,8 @@ void SMESH_Mesh::RemoveGroup (const int theGroupID) if (_mapGroup.find(theGroupID) == _mapGroup.end()) return; GetMeshDS()->RemoveGroup( _mapGroup[theGroupID]->GetGroupDS() ); - _mapGroup.erase (theGroupID); delete _mapGroup[theGroupID]; + _mapGroup.erase (theGroupID); } //=============================================================================