]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOM_I/GEOM_Gen_i.cc
Salome HOME
Some corrections related to using UNICODE.
[modules/geom.git] / src / GEOM_I / GEOM_Gen_i.cc
index 5e729a615c8acf1e8a94367c043748754fe18a99..d9cbf08c7c97ce68990e6431a11cb1b76df1972e 100644 (file)
@@ -2544,6 +2544,9 @@ void GEOM_Gen_i::LoadPlugin(const std::string& theLibName)
   #endif
     // load plugin library
     LibHandle libHandle = LoadLib(aPath);
+  #if UNICODE
+    delete aPath;
+  #endif
 #else
     LibHandle libHandle = LoadLib(aPlatformLibName.c_str());
 #endif