From 9d9265899e89c2c8db5b5b11a09fdf4034a2149c Mon Sep 17 00:00:00 2001 From: dongjuan Date: Thu, 31 Aug 2017 14:57:54 +0800 Subject: Fix vent_data memory leak in function run_ping_ip46_address (VPP-966) Change-Id: I05d0c8310aa86480a3d283f45e115284c4b4ebd5 Signed-off-by: dongjuan --- src/vnet/ip/ping.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/vnet/ip/ping.c b/src/vnet/ip/ping.c index d250b796..c847e696 100755 --- a/src/vnet/ip/ping.c +++ b/src/vnet/ip/ping.c @@ -646,6 +646,7 @@ run_ping_ip46_address (vlib_main_t * vm, u32 table_id, ip4_address_t * pa4, i = 1 + ping_repeat; break; } + vec_free(event_data); } } vlib_cli_output (vm, "\n"); -- cgit 1.2.3-korg