From c453758762f60d28726000f77fb1bd1fafd47ecc Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 18 Jan 2006 09:34:12 +0000 Subject: [PATCH] PAL11211: SIGSGV when exporting a mesh after having deleted a group. --- src/SMESH/SMESH_Mesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index ffd77cd55..a4b5f80af 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -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); } //============================================================================= -- 2.30.2