From: rnv Date: Thu, 27 Sep 2018 11:27:17 +0000 (+0300) Subject: Some corrections related to using UNICODE. X-Git-Tag: V9_2_0a2~6^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Frnv%2Funicode;p=modules%2Fgeom.git Some corrections related to using UNICODE. --- diff --git a/src/GEOM_I/GEOM_Gen_i.cc b/src/GEOM_I/GEOM_Gen_i.cc index 5e729a615..d9cbf08c7 100644 --- a/src/GEOM_I/GEOM_Gen_i.cc +++ b/src/GEOM_I/GEOM_Gen_i.cc @@ -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