]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Some corrections related to using UNICODE. rnv/unicode
authorrnv <rnv@opencascade.com>
Thu, 27 Sep 2018 11:27:17 +0000 (14:27 +0300)
committerrnv <rnv@opencascade.com>
Thu, 27 Sep 2018 11:27:17 +0000 (14:27 +0300)
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