From f616d290053da4b47b00ad332a868a6ecadd5323 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 20 Jan 2020 02:45:21 +0100 Subject: fix leak --- src/exchange/taler-exchange-httpd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 657a9e744..c0e91250d 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -841,6 +841,8 @@ run_single_request () } MHD_run (mhd); } + MHD_stop_daemon (mhd); + mhd = NULL; if (cld != waitpid (cld, &status, 0)) -- cgit v1.2.3