]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
PR: debug memory leak (EDF 2662)
authorprascle <prascle>
Thu, 20 Jun 2013 12:35:08 +0000 (12:35 +0000)
committerprascle <prascle>
Thu, 20 Jun 2013 12:35:08 +0000 (12:35 +0000)
missing delete...

src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx

index 843a8d3528e3f2af0afa7e16ef638f00a1d95984..87588cb6410415a34a21487bdc9ad01e6b9c14ab 100644 (file)
@@ -1402,6 +1402,12 @@ static bool readGMFFile(const char*                     theFile,
   aSubdomainFile.close();
 #endif  
   
+  if (elemSearcher)
+  {
+    MESSAGE("delete elemSearcher")
+    delete elemSearcher;
+    elemSearcher = 0;
+  }
   return true;
 }