diff --git a/src/examples/chunked_example.c b/src/examples/chunked_example.c index ed20d472..68b7ea1e 100644 --- a/src/examples/chunked_example.c +++ b/src/examples/chunked_example.c @@ -143,6 +143,7 @@ ahc_echo (void *cls, "chunked")) { free (callback_param); + MHD_destroy_response (response); return MHD_NO; } ret = MHD_queue_response (connection, MHD_HTTP_OK, response);