From: ShenJibiao Date: Thu, 31 Aug 2017 05:57:48 +0000 (+0800) Subject: Free memory the 'rpaths' pointers, that may incur memory leaks(VPP-965). X-Git-Tag: v17.10-rc1~151 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=203c0794837c519c32af1cf638bfd47fd17a35de;p=vpp.git Free memory the 'rpaths' pointers, that may incur memory leaks(VPP-965). Change-Id: I2732c02b97f4602162638bbcf3ab46521c2782da Signed-off-by: ShenJibiao --- diff --git a/src/vpp/app/vpe_cli.c b/src/vpp/app/vpe_cli.c index fcc496adc77..e19c23ded9c 100644 --- a/src/vpp/app/vpe_cli.c +++ b/src/vpp/app/vpe_cli.c @@ -113,6 +113,7 @@ virtual_ip_cmd_fn_command_fn (vlib_main_t * vm, done: vec_free (mac_addrs); vec_free (next_hops); + vec_free (rpaths); unformat_free (line_input); return error;