summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/http/http.c1
1 files changed, 1 insertions, 0 deletions
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);