From: Filip Tehlar Date: Fri, 12 Jan 2024 10:18:57 +0000 (+0100) Subject: http: fix memory leak X-Git-Tag: v24.06-rc0~39 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=bf40da413f8dc1d2d3a2ca355541d6b3648ba532;p=vpp.git http: fix memory leak Type: fix Change-Id: I36905132a42d23e719bf0e82eeafa48f60f4887a Signed-off-by: Filip Tehlar --- diff --git a/src/plugins/http/http.c b/src/plugins/http/http.c index 4797308666e..036e6929987 100644 --- a/src/plugins/http/http.c +++ b/src/plugins/http/http.c @@ -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);