http_static: fix reply data leak
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ica78044b044a78714dd9947620250f13c63320fb
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user