summaryrefslogtreecommitdiff
path: root/src/daemon/response.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/response.c')
-rw-r--r--src/daemon/response.c2
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) {
}
pthread_mutex_unlock(&response->mutex);
pthread_mutex_destroy(&response->mutex);
+ if (response->crfc != NULL)
+ response->crfc(response->crc_cls);
while (response->first_header != NULL) {
pos = response->first_header;
response->first_header = pos->next;