Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
249aa0a
)
PAL11211: SIGSGV when exporting a mesh after having deleted a group.
OCC_visual_parameters_2006
T_Before_Join_BR-D5-38-2003
author
jfa
<jfa@opencascade.com>
Wed, 18 Jan 2006 09:34:12 +0000
(09:34 +0000)
committer
jfa
<jfa@opencascade.com>
Wed, 18 Jan 2006 09:34:12 +0000
(09:34 +0000)
src/SMESH/SMESH_Mesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Mesh.cxx
b/src/SMESH/SMESH_Mesh.cxx
index ffd77cd554fe8536a9860f2b0e4cf242b6e7e651..a4b5f80af0208839134f0186cbbaf490fe628adb 100644
(file)
--- 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);
}
//=============================================================================