diff options
author | saturneric <[email protected]> | 2023-12-14 08:58:53 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-14 08:58:53 +0000 |
commit | 79783510863445b5068eef092a1f2650733a5b02 (patch) | |
tree | d8e6070b85467451c658ce4122c45a5a132e6d44 /src/init.cpp | |
parent | fix: slove a memory issue found by valgrind (diff) | |
download | GpgFrontend-79783510863445b5068eef092a1f2650733a5b02.tar.gz GpgFrontend-79783510863445b5068eef092a1f2650733a5b02.zip |
fix: slove some memory issues
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 4 |
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) { |