Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
http: fix memory leak
[vpp.git]
/
src
/
plugins
/
http
/
http.c
diff --git
a/src/plugins/http/http.c
b/src/plugins/http/http.c
index
4797308
..
036e692
100644
(file)
--- 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);