aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2019-09-18 13:51:46 -0500
committerNeale Ranns <nranns@cisco.com>2019-09-23 08:37:43 +0000
commit6d5f6592559bc0db4294c53236177d4e35e603c6 (patch)
tree51377c48126828d5e4a6aee327df7bab3c6a5cae /src/vnet/ip
parent1afa7afffad6e296a97556aa4c9482f4cd544074 (diff)
ip: fix memory leak in ip_dump handler
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>
Diffstat (limited to 'src/vnet/ip')
-rw-r--r--src/vnet/ip/ip_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/ip/ip_api.c b/src/vnet/ip/ip_api.c
index 8dbd3e6ce12..7e87f4b8db0 100644
--- 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