From: eap Date: Wed, 24 Jul 2013 12:42:22 +0000 (+0000) Subject: 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs X-Git-Tag: V7_3_0a1~256 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=adab833f26ee728732c62f10de35b5c64aa96d39;p=modules%2Fsmesh.git 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs + delete aHistogram; --- diff --git a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx index 9a701b8ec..e17221fff 100644 --- a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx @@ -3401,6 +3401,7 @@ void SMESHGUI_CtrlInfo::computeAspectRatio() anItem->attach( myPlot ); myPlot->replot(); } + delete aHistogram; } void SMESHGUI_CtrlInfo::computeAspectRatio3D() @@ -3417,6 +3418,7 @@ void SMESHGUI_CtrlInfo::computeAspectRatio3D() anItem->attach( myPlot3D ); myPlot3D->replot(); } + delete aHistogram; } /*!