From: eap Date: Fri, 14 Dec 2012 12:53:48 +0000 (+0000) Subject: 21948: EDF SMESH : Memory is not freed when deleting a mesh X-Git-Tag: V6_main_FINAL~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7418b604a6b2eee57262203780c9992c33665c10;p=modules%2Fgui.git 21948: EDF SMESH : Memory is not freed when deleting a mesh void SVTK_InteractorStyle::RotateXY(int dx, int dy) { + aTransform->Delete(); --- diff --git a/src/SVTK/SVTK_InteractorStyle.cxx b/src/SVTK/SVTK_InteractorStyle.cxx index e7026d8c6..40b784cf9 100644 --- a/src/SVTK/SVTK_InteractorStyle.cxx +++ b/src/SVTK/SVTK_InteractorStyle.cxx @@ -261,6 +261,7 @@ void SVTK_InteractorStyle::RotateXY(int dx, int dy) // To apply the transformation cam->SetPosition(aTransform->TransformPoint(viewPos)); cam->SetFocalPoint(aTransform->TransformPoint(viewFP)); + aTransform->Delete(); cam->OrthogonalizeViewUp();