chunked_example: fixed resource leak

This commit is contained in:
Evgeny Grin (Karlson2k)
2021-06-03 21:30:11 +03:00
parent f33328efab
commit 533d5cecd4
+1
View File
@@ -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);