summaryrefslogtreecommitdiff
path: root/src/exchange
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 /src/exchange
parentaaa57167db98c607add2cdbd516e4d3cc89e7c07 (diff)
downloadexchange-f616d290053da4b47b00ad332a868a6ecadd5323.tar.gz
exchange-f616d290053da4b47b00ad332a868a6ecadd5323.tar.bz2
exchange-f616d290053da4b47b00ad332a868a6ecadd5323.zip
fix leak
Diffstat (limited to 'src/exchange')
-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))