]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
nullify myGroupDS in destructor
authoreap <eap@opencascade.com>
Fri, 12 Nov 2010 14:29:24 +0000 (14:29 +0000)
committereap <eap@opencascade.com>
Fri, 12 Nov 2010 14:29:24 +0000 (14:29 +0000)
src/SMESH/SMESH_Group.cxx

index 4d88aed630d72a3612d6dea12b2b1412cb0620a5..b2f5a125d0d9c81a0c11459bd64e8b74f2341638 100644 (file)
@@ -63,5 +63,5 @@ SMESH_Group::SMESH_Group (int                       theID,
 
 SMESH_Group::~SMESH_Group ()
 {
-  delete myGroupDS;
+  delete myGroupDS; myGroupDS=0;
 }