diff --git a/agent/call-daemon.c b/agent/call-daemon.c index 318d31e79..2599fc7f2 100644 --- a/agent/call-daemon.c +++ b/agent/call-daemon.c @@ -175,6 +175,9 @@ wait_child_thread (void *arg) } } + if (g->primary_ctx_reusable) + assuan_release (g->primary_ctx); + g->primary_ctx = NULL; g->primary_ctx_reusable = 0;