diff --git a/src/httpd_daap.c b/src/httpd_daap.c index 1101514c..7df409f4 100644 --- a/src/httpd_daap.c +++ b/src/httpd_daap.c @@ -2870,6 +2870,7 @@ daap_deinit(void) { update_requests = ur->next; + evhttp_connection_set_closecb(ur->req->evcon, NULL, NULL); free(ur); } } diff --git a/src/httpd_dacp.c b/src/httpd_dacp.c index a57b9dca..7465053a 100644 --- a/src/httpd_dacp.c +++ b/src/httpd_dacp.c @@ -653,6 +653,7 @@ dacp_deinit(void) { update_requests = ur->next; + evhttp_connection_set_closecb(ur->req->evcon, NULL, NULL); free(ur); } }