]> SALOME platform Git repositories - plugins/ghs3dplugin.git/commitdiff
Salome HOME
PR : merge from V7_2_1
authorprascle <prascle>
Sat, 3 Aug 2013 11:12:21 +0000 (11:12 +0000)
committerprascle <prascle>
Sat, 3 Aug 2013 11:12:21 +0000 (11:12 +0000)
memory leaks

src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx

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