summaryrefslogtreecommitdiffstats
path: root/src/vlib/unix/cli.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-11-09 17:11:57 -0500
committerNeale Ranns <nranns@cisco.com>2020-11-10 08:49:23 +0000
commit5f09efe70cc872a97c9db4c3a53455712548cad7 (patch)
treeb20356cc4c8c1eb5a0dff3d450ed2f918d187c0b /src/vlib/unix/cli.c
parent9ed4866440f4a20c04c86ecfc7f8b2cc380b2b09 (diff)
ip6-nd: fix memory leaks
Quite a noticeable amount of memory. Recoded ra event tx and rx fns in the usual manner, which terminated the leaks. Type: fix Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I486d348456b465ad3940a280d4cf489e8dd655a5
Diffstat (limited to 'src/vlib/unix/cli.c')
-rw-r--r--src/vlib/unix/cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/unix/cli.c b/src/vlib/unix/cli.c
index 07ce414f616..9d26e6e7e34 100644
--- a/src/vlib/unix/cli.c
+++ b/src/vlib/unix/cli.c
@@ -2708,6 +2708,7 @@ unix_cli_kill (unix_cli_main_t * cm, uword cli_file_index)
vec_free (cf->command_history[i]);
vec_free (cf->command_history);
+ vec_free (cf->input_vector);
clib_file_del (fm, uf);