aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/module/ModuleManager.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-27 08:56:19 +0000
committersaturneric <[email protected]>2024-07-27 08:56:19 +0000
commit1c4445408577a3bd5743d344cdd31f21d81dc9c0 (patch)
tree18deeb8cac0c66f831c4dd0f9600487c4855cbdf /src/core/module/ModuleManager.cpp
parentfix: indirect memory leak issues (diff)
downloadGpgFrontend-1c4445408577a3bd5743d344cdd31f21d81dc9c0.tar.gz
GpgFrontend-1c4445408577a3bd5743d344cdd31f21d81dc9c0.zip
fix: discover and solve some memory issues
Diffstat (limited to 'src/core/module/ModuleManager.cpp')
-rw-r--r--src/core/module/ModuleManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/module/ModuleManager.cpp b/src/core/module/ModuleManager.cpp
index ad4f9ceb..45e9f657 100644
--- a/src/core/module/ModuleManager.cpp
+++ b/src/core/module/ModuleManager.cpp
@@ -60,9 +60,9 @@ class ModuleManager::Impl {
[=](GpgFrontend::DataObjectPtr) -> int {
QLibrary module_library(module_library_path);
if (!module_library.load()) {
- qCWarning(core) << "module manager failed to load module, "
- "reason: broken library: "
- << module_library.fileName();
+ qCWarning(core) << "module manager failed to load module: "
+ << module_library.fileName()
+ << ", reason: " << module_library.errorString();
return -1;
}