mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
+ delete aHistogram;
This commit is contained in:
parent
d0b4e3c141
commit
adab833f26
@ -3401,6 +3401,7 @@ void SMESHGUI_CtrlInfo::computeAspectRatio()
|
|||||||
anItem->attach( myPlot );
|
anItem->attach( myPlot );
|
||||||
myPlot->replot();
|
myPlot->replot();
|
||||||
}
|
}
|
||||||
|
delete aHistogram;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SMESHGUI_CtrlInfo::computeAspectRatio3D()
|
void SMESHGUI_CtrlInfo::computeAspectRatio3D()
|
||||||
@ -3417,6 +3418,7 @@ void SMESHGUI_CtrlInfo::computeAspectRatio3D()
|
|||||||
anItem->attach( myPlot3D );
|
anItem->attach( myPlot3D );
|
||||||
myPlot3D->replot();
|
myPlot3D->replot();
|
||||||
}
|
}
|
||||||
|
delete aHistogram;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
Reference in New Issue
Block a user