diff options
Diffstat (limited to 'lib/command.c')
-rw-r--r-- | lib/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index 374f93ad..719ffd29 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1785,6 +1785,7 @@ cmd_complete_command_real (vector vline, struct vty *vty, int *status) if (vector_active (vline) == 0) { + vector_free (cmd_vector); *status = CMD_ERR_NO_MATCH; return NULL; } |