http: fix memory leak
Type: fix Change-Id: I36905132a42d23e719bf0e82eeafa48f60f4887a Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user