diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-13 07:48:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-13 07:48:31 +0000 |
commit | aee7bbd414f4c3da9da5fec8892e12ecfd1cb900 (patch) | |
tree | e9038037ceb5b87520414780e5fcafec9d215180 /src | |
parent | 1e2bfba0914a0e85a736552f813875a8415c46dc (diff) | |
download | libmicrohttpd-aee7bbd414f4c3da9da5fec8892e12ecfd1cb900.tar.gz libmicrohttpd-aee7bbd414f4c3da9da5fec8892e12ecfd1cb900.zip |
for Regis (see ML)
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/connection.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/connection.c b/src/daemon/connection.c index 2a7fb261..c02e87cd 100644 --- a/src/daemon/connection.c +++ b/src/daemon/connection.c | |||
@@ -316,6 +316,11 @@ MHD_connection_close (struct MHD_Connection *connection, | |||
316 | MHD_destroy_response (pos->response); | 316 | MHD_destroy_response (pos->response); |
317 | pos->response = NULL; | 317 | pos->response = NULL; |
318 | } | 318 | } |
319 | if (pos->response != NULL) | ||
320 | { | ||
321 | MHD_destroy_response (pos->response); | ||
322 | pos->response = NULL; | ||
323 | } | ||
319 | } | 324 | } |
320 | 325 | ||
321 | 326 | ||