From: apo Date: Mon, 17 Oct 2005 06:07:12 +0000 (+0000) Subject: To provide correct memory managment X-Git-Tag: TG-D5-38-2003_D2005-20-12~155 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4242e1f3dfbd6441378c48dffdaeea74d1ef4530;p=modules%2Fvisu.git To provide correct memory managment --- diff --git a/src/VISU_I/VISU_Result_i.cc b/src/VISU_I/VISU_Result_i.cc index b6fd953a..30ad155b 100644 --- a/src/VISU_I/VISU_Result_i.cc +++ b/src/VISU_I/VISU_Result_i.cc @@ -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(); }