http_static: fix reply data leak

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ica78044b044a78714dd9947620250f13c63320fb
This commit is contained in:
Florin Coras
2024-06-20 14:58:54 -07:00
parent d5fa6cca0f
commit d8efd6e310

View File

@@ -456,6 +456,8 @@ hss_ts_rx_callback (session_t *ts)
int rv;
hs = hss_session_get (ts->thread_index, ts->opaque);
if (hs->free_data)
vec_free (hs->data);
hs->data = 0;
/* Read the http message header */