Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1afa7af
)
ip: fix memory leak in ip_dump handler
39/22139/2
author
Matthew Smith
<mgsmith@netgate.com>
Wed, 18 Sep 2019 18:51:46 +0000
(13:51 -0500)
committer
Neale Ranns
<nranns@cisco.com>
Mon, 23 Sep 2019 08:37:43 +0000
(08:37 +0000)
Type: fix
A vector allocated by vl_api_ip_dump_t_handler() was not being
freed.
Change-Id: I13425b8087e60df60c6aaa1230aa7e6d60b101a8
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/vnet/ip/ip_api.c
patch
|
blob
|
history
diff --git
a/src/vnet/ip/ip_api.c
b/src/vnet/ip/ip_api.c
index
8dbd3e6
..
7e87f4b
100644
(file)
--- a/
src/vnet/ip/ip_api.c
+++ b/
src/vnet/ip/ip_api.c
@@
-1051,6
+1051,8
@@
vl_api_ip_dump_t_handler (vl_api_ip_dump_t * mp)
send_ip_details (am, reg, sw_if_index, mp->is_ipv6, mp->context);
}
}
+
+ vec_free (sorted_sis);
}
static void