aboutsummaryrefslogtreecommitdiffstats
path: root/src/init.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-14 12:39:48 +0000
committersaturneric <[email protected]>2023-12-14 12:39:48 +0000
commitbeafe53c1b8671d8e84f0546eb404597300448c7 (patch)
treef9b3e2d1f1c94c344fe3f9df919f4be2e56b4cae /src/init.cpp
parentfix: slove some memory issues (diff)
downloadGpgFrontend-beafe53c1b8671d8e84f0546eb404597300448c7.tar.gz
GpgFrontend-beafe53c1b8671d8e84f0546eb404597300448c7.zip
fix: slove issues on memory and add asan support for debug
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 02e90836..56ed1d5d 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -188,6 +188,8 @@ void InitGlobalBasicalEnv(const GFCxtWPtr &p_ctx) {
CoreInitArgs core_init_args;
core_init_args.gather_external_gnupg_info = ctx->gather_external_gnupg_info;
+ core_init_args.load_default_gpg_context = ctx->load_default_gpg_context;
+
// then load core
InitGpgFrontendCore(core_init_args);
}