From 7418b604a6b2eee57262203780c9992c33665c10 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 14 Dec 2012 12:53:48 +0000 Subject: [PATCH] 21948: EDF SMESH : Memory is not freed when deleting a mesh void SVTK_InteractorStyle::RotateXY(int dx, int dy) { + aTransform->Delete(); --- src/SVTK/SVTK_InteractorStyle.cxx | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.39.2