From 1d83eb38e546e0165f1ad6821f04445b2b9b19d2 Mon Sep 17 00:00:00 2001 From: Juergen Gehring Date: Mon, 14 Apr 2014 11:43:34 +0200 Subject: Documentation cleanup. --- src/CommonAPI/Runtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.1