diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vlib/unix/cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/unix/cli.c b/src/vlib/unix/cli.c index e98eb3459fd..2f34c8deae2 100644 --- a/src/vlib/unix/cli.c +++ b/src/vlib/unix/cli.c @@ -2520,6 +2520,7 @@ unix_cli_line_edit (unix_cli_main_t * cm, unix_main_t * um, if (cf->line_mode) { vec_delete (cf->input_vector, i, 0); + vec_free (cf->current_command); cf->current_command = cf->input_vector; return 0; } |