aboutsummaryrefslogtreecommitdiffstats
path: root/src/init.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-14 08:58:53 +0000
committersaturneric <[email protected]>2023-12-14 08:58:53 +0000
commit79783510863445b5068eef092a1f2650733a5b02 (patch)
treed8e6070b85467451c658ce4122c45a5a132e6d44 /src/init.cpp
parentfix: slove a memory issue found by valgrind (diff)
downloadGpgFrontend-79783510863445b5068eef092a1f2650733a5b02.tar.gz
GpgFrontend-79783510863445b5068eef092a1f2650733a5b02.zip
fix: slove some memory issues
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 77007ff1..02e90836 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -186,8 +186,10 @@ void InitGlobalBasicalEnv(const GFCxtWPtr &p_ctx) {
UI::PreInitGpgFrontendUI();
}
+ CoreInitArgs core_init_args;
+ core_init_args.gather_external_gnupg_info = ctx->gather_external_gnupg_info;
// then load core
- InitGpgFrontendCore();
+ InitGpgFrontendCore(core_init_args);
}
void ShutdownGlobalBasicalEnv(const GFCxtWPtr &p_ctx) {