diff options
Diffstat (limited to 'src/CommonAPI/Runtime.cpp')
-rw-r--r-- | src/CommonAPI/Runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CommonAPI/Runtime.cpp b/src/CommonAPI/Runtime.cpp index 01b9d47..bc5c4dc 100644 --- a/src/CommonAPI/Runtime.cpp +++ b/src/CommonAPI/Runtime.cpp @@ -48,7 +48,7 @@ bool Runtime::tryLoadLibrary(const std::string& libraryPath, //called, thereby causing memory corruptions. Therefore, we must be able to access the middlewareInfo //of the newly dlopened library in order to determine whether it already has been linked. *sharedLibraryHandle = dlopen(libraryPath.c_str(), RTLD_LAZY | RTLD_LOCAL | RTLD_DEEPBIND); - if (sharedLibraryHandle == NULL) { + if (*sharedLibraryHandle == NULL) { return false; } |