22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs

+  delete aHistogram;
This commit is contained in:
eap 2013-07-24 12:42:22 +00:00
parent d0b4e3c141
commit adab833f26

View File

@ -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;
}
/*!