tests/client_server: fixed memory leak

This commit is contained in:
Evgeny Grin (Karlson2k)
2024-08-21 13:17:11 +02:00
parent ca767d7afa
commit 2396c47902
@@ -130,7 +130,10 @@ MHDT_server_reply_with_header (
MHD_response_add_header (resp,
name,
value))
{
MHD_response_destroy (resp);
return MHD_action_abort_request (request);
}
return MHD_action_from_response (
request,
resp);