]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
21948: EDF SMESH : Memory is not freed when deleting a mesh
authoreap <eap@opencascade.com>
Fri, 14 Dec 2012 12:52:57 +0000 (12:52 +0000)
committereap <eap@opencascade.com>
Fri, 14 Dec 2012 12:52:57 +0000 (12:52 +0000)
 LightApp_Study::~LightApp_Study()
 {
+  delete myDriver; myDriver = 0;

src/LightApp/LightApp_Study.cxx

index 2119ebc658bd8a955a19d28d0634070c7c5dfda8..bc93a3490c62a1adcddb023c56f6de8df79c218f 100644 (file)
@@ -52,6 +52,7 @@ LightApp_Study::LightApp_Study( SUIT_Application* app )
 */
 LightApp_Study::~LightApp_Study()
 {
+  delete myDriver; myDriver = 0;
 }
 
 /*!