mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
tests/client_server: fixed memory leak
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user