diff --git a/src/qt/qt_platform.cpp b/src/qt/qt_platform.cpp index 45366560c..11cded7be 100644 --- a/src/qt/qt_platform.cpp +++ b/src/qt/qt_platform.cpp @@ -356,6 +356,8 @@ void* dynld_module(const char *name, dllimp_t *table) return nullptr; } } + } else { + return nullptr; } return lib.release();