aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShenJibiao <shen.jibiao@zte.com.cn>2017-08-31 13:57:48 +0800
committerShenJibiao <shen.jibiao@zte.com.cn>2017-08-31 14:02:46 +0800
commit203c0794837c519c32af1cf638bfd47fd17a35de (patch)
tree14c53804922f201073839e1c230a33de27e88556 /src
parent9e482bb9bc3deca07955be6098e0ab6661aaf20b (diff)
Free memory the 'rpaths' pointers, that may incur memory leaks(VPP-965).
Change-Id: I2732c02b97f4602162638bbcf3ab46521c2782da Signed-off-by: ShenJibiao <shen.jibiao@zte.com.cn>
Diffstat (limited to 'src')
-rw-r--r--src/vpp/app/vpe_cli.c1
1 files changed, 1 insertions, 0 deletions
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;