From: prascle Date: Sat, 3 Aug 2013 11:12:21 +0000 (+0000) Subject: PR : merge from V7_2_1 X-Git-Tag: V7_3_0a1~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=50acd4bd586d0a1e910340783a2278a64fe80e3d;p=plugins%2Fghs3dplugin.git PR : merge from V7_2_1 memory leaks --- diff --git a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx index ab9e086..e27c5b9 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx @@ -1464,6 +1464,12 @@ static bool readGMFFile(const char* theFile, aSubdomainFile.close(); #endif + if (elemSearcher) + { + MESSAGE("delete elemSearcher") + delete elemSearcher; + elemSearcher = 0; + } return true; }