http: fix memory leak

Type: fix

Change-Id: I36905132a42d23e719bf0e82eeafa48f60f4887a
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
This commit is contained in:
Filip Tehlar
2024-01-12 11:18:57 +01:00
parent d7c96324c0
commit bf40da413f

View File

@@ -767,6 +767,7 @@ http_state_wait_app_reply (http_conn_t *hc, transport_send_params_t *sp)
{
clib_warning ("couldn't send response header!");
sc = HTTP_STATUS_INTERNAL_ERROR;
vec_free (header);
goto error;
}
vec_free (header);