Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8c9ebd8
)
Some corrections related to using UNICODE.
rnv/unicode
author
rnv
<rnv@opencascade.com>
Thu, 27 Sep 2018 11:27:17 +0000
(14:27 +0300)
committer
rnv
<rnv@opencascade.com>
Thu, 27 Sep 2018 11:27:17 +0000
(14:27 +0300)
src/GEOM_I/GEOM_Gen_i.cc
patch
|
blob
|
history
diff --git
a/src/GEOM_I/GEOM_Gen_i.cc
b/src/GEOM_I/GEOM_Gen_i.cc
index 5e729a615c8acf1e8a94367c043748754fe18a99..d9cbf08c7c97ce68990e6431a11cb1b76df1972e 100644
(file)
--- 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);
#endif
// load plugin library
LibHandle libHandle = LoadLib(aPath);
+ #if UNICODE
+ delete aPath;
+ #endif
#else
LibHandle libHandle = LoadLib(aPlatformLibName.c_str());
#endif
#else
LibHandle libHandle = LoadLib(aPlatformLibName.c_str());
#endif