aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordongjuan <dong.juan1@zte.com.cn>2017-08-31 14:57:54 +0800
committerDamjan Marion <dmarion.lists@gmail.com>2017-08-31 10:22:57 +0000
commit9d9265899e89c2c8db5b5b11a09fdf4034a2149c (patch)
treeccb5a02563f03b3284ad5e13c3b34d5b91c6ba7a
parentc67787be51c4cbf4e5c1a28af621822aa8cae513 (diff)
Fix vent_data memory leak in function run_ping_ip46_address (VPP-966)
Change-Id: I05d0c8310aa86480a3d283f45e115284c4b4ebd5 Signed-off-by: dongjuan <dong.juan1@zte.com.cn>
-rwxr-xr-xsrc/vnet/ip/ping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/ip/ping.c b/src/vnet/ip/ping.c
index d250b796a19..c847e696917 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");