diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 581f50c87..07bff8775 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -114,6 +114,7 @@ SMESH_Mesh::~SMESH_Mesh() SMESH_Group *aGroup = (*itg).second; delete aGroup; } + _mapGroup.clear(); } //=============================================================================