diff options
-rw-r--r-- | src/plugins/http_static/static_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/http_static/static_server.c b/src/plugins/http_static/static_server.c index c4284a45999..26224989332 100644 --- a/src/plugins/http_static/static_server.c +++ b/src/plugins/http_static/static_server.c @@ -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 */ |