Merge branch 'rnv/unicode'

This commit is contained in:
rnv 2018-10-10 22:53:26 +03:00
commit e1f4a245c6

View File

@ -2544,6 +2544,9 @@ void GEOM_Gen_i::LoadPlugin(const std::string& theLibName)
#endif #endif
// load plugin library // load plugin library
LibHandle libHandle = LoadLib(aPath); LibHandle libHandle = LoadLib(aPath);
#if UNICODE
delete aPath;
#endif
#else #else
LibHandle libHandle = LoadLib(aPlatformLibName.c_str()); LibHandle libHandle = LoadLib(aPlatformLibName.c_str());
#endif #endif