aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/connection.c')
-rw-r--r--src/daemon/connection.c5
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