]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL11211: SIGSGV when exporting a mesh after having deleted a group. OCC_visual_parameters_2006 T_Before_Join_BR-D5-38-2003
authorjfa <jfa@opencascade.com>
Wed, 18 Jan 2006 09:34:12 +0000 (09:34 +0000)
committerjfa <jfa@opencascade.com>
Wed, 18 Jan 2006 09:34:12 +0000 (09:34 +0000)
src/SMESH/SMESH_Mesh.cxx

index ffd77cd554fe8536a9860f2b0e4cf242b6e7e651..a4b5f80af0208839134f0186cbbaf490fe628adb 100644 (file)
@@ -1069,8 +1069,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);
 }
 
 //=============================================================================