From df78626bf559c48e1631ab0df0373b2075099b91 Mon Sep 17 00:00:00 2001 From: vpa Date: Fri, 8 Apr 2016 20:18:58 +0300 Subject: [PATCH] Fixed one of memory leaks: MeshVS_Mesh object now is deleted on vremove --- src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx b/src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx index 6ff0a98463..de18afca4b 100644 --- a/src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx +++ b/src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx @@ -1543,7 +1543,6 @@ static int MeshLOD (Draw_Interpretor& theDI, aLODIdx++; } - Draw::Set (aShapeName, new XSDRAWSTLVRML_DrawableMesh (anOriginMesh)); Handle(V3d_View) aView = ViewerTest::CurrentView(); if (!aView.IsNull()) aView->FitAll(); -- 2.39.5