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=1146ac90d280e25633cc85180513cf95c5cd1121;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