aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-20 02:45:21 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-20 02:45:21 +0100
commitf616d290053da4b47b00ad332a868a6ecadd5323 (patch)
tree18c2766d287063bef45c8215772de3a28a503fcc
parentaaa57167db98c607add2cdbd516e4d3cc89e7c07 (diff)
fix leak
-rw-r--r--src/exchange/taler-exchange-httpd.c2
1 files changed, 2 insertions, 0 deletions
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))