aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r--agent/gpg-agent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 71b0274bb..0e64939f5 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -440,6 +440,7 @@ remove_socket (char *name)
static void
cleanup (void)
{
+ deinitialize_module_cache ();
remove_socket (socket_name);
remove_socket (socket_name_ssh);
}
@@ -842,6 +843,7 @@ main (int argc, char **argv )
exit (1);
}
+ initialize_module_cache ();
initialize_module_call_pinentry ();
initialize_module_call_scd ();
initialize_module_trustlist ();