Free memory the 'rpaths' pointers, that may incur memory leaks(VPP-965). 65/8265/1
authorShenJibiao <[email protected]>
Thu, 31 Aug 2017 05:57:48 +0000 (13:57 +0800)
committerShenJibiao <[email protected]>
Thu, 31 Aug 2017 06:02:46 +0000 (14:02 +0800)
Change-Id: I2732c02b97f4602162638bbcf3ab46521c2782da
Signed-off-by: ShenJibiao <[email protected]>
src/vpp/app/vpe_cli.c

index fcc496a..e19c23d 100644 (file)
@@ -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;