From bf40da413f8dc1d2d3a2ca355541d6b3648ba532 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Fri, 12 Jan 2024 11:18:57 +0100 Subject: http: fix memory leak Type: fix Change-Id: I36905132a42d23e719bf0e82eeafa48f60f4887a Signed-off-by: Filip Tehlar --- src/plugins/http/http.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit 1.2.3-korg