diff --git a/agent/call-daemon.c b/agent/call-daemon.c index cf5a0c85f..f7ea0dd51 100644 --- a/agent/call-daemon.c +++ b/agent/call-daemon.c @@ -134,6 +134,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;