From: eap Date: Fri, 14 Dec 2012 12:52:57 +0000 (+0000) Subject: 21948: EDF SMESH : Memory is not freed when deleting a mesh X-Git-Tag: V6_main_FINAL~72 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8f3ac9514f6e7b4f0432dfb16133e6235a17f852;p=modules%2Fgui.git 21948: EDF SMESH : Memory is not freed when deleting a mesh LightApp_Study::~LightApp_Study() { + delete myDriver; myDriver = 0; --- diff --git a/src/LightApp/LightApp_Study.cxx b/src/LightApp/LightApp_Study.cxx index 2119ebc65..bc93a3490 100644 --- a/src/LightApp/LightApp_Study.cxx +++ b/src/LightApp/LightApp_Study.cxx @@ -52,6 +52,7 @@ LightApp_Study::LightApp_Study( SUIT_Application* app ) */ LightApp_Study::~LightApp_Study() { + delete myDriver; myDriver = 0; } /*!