diff options
Diffstat (limited to 'src/daemon/response.c')
-rw-r--r-- | src/daemon/response.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/response.c b/src/daemon/response.c index 0c4b1de4..747932a2 100644 --- a/src/daemon/response.c +++ b/src/daemon/response.c | |||
@@ -250,6 +250,8 @@ MHD_destroy_response(struct MHD_Response * response) { | |||
250 | } | 250 | } |
251 | pthread_mutex_unlock(&response->mutex); | 251 | pthread_mutex_unlock(&response->mutex); |
252 | pthread_mutex_destroy(&response->mutex); | 252 | pthread_mutex_destroy(&response->mutex); |
253 | if (response->crfc != NULL) | ||
254 | response->crfc(response->crc_cls); | ||
253 | while (response->first_header != NULL) { | 255 | while (response->first_header != NULL) { |
254 | pos = response->first_header; | 256 | pos = response->first_header; |
255 | response->first_header = pos->next; | 257 | response->first_header = pos->next; |