From 1146ac90d280e25633cc85180513cf95c5cd1121 Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 27 Sep 2018 14:27:17 +0300 Subject: [PATCH] Some corrections related to using UNICODE. --- src/GEOM_I/GEOM_Gen_i.cc | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2