]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To provide correct memory managment
authorapo <apo@opencascade.com>
Mon, 17 Oct 2005 06:07:12 +0000 (06:07 +0000)
committerapo <apo@opencascade.com>
Mon, 17 Oct 2005 06:07:12 +0000 (06:07 +0000)
src/VISU_I/VISU_Result_i.cc

index b6fd953a76c5a0a8ac581bd105f9b92fc0c7dd0a..30ad155b90803bbac50d99f8c4cc6cca47545e92 100644 (file)
@@ -140,6 +140,7 @@ void VISU::Result_i::RemoveFromStudy()
 {
   // Remove the result with all presentations and other possible sub-objects
   VISU::RemoveFromStudy(mySObject,false);
+  Destroy();
 }