mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 05:28:51 +00:00
Merge pull request #259 from opensourcerouting/vtysh-completion-mtype-underflow
vtysh: fix completion
This commit is contained in:
commit
72c62cb803
@ -832,7 +832,7 @@ command_generator (const char *text, int state)
|
|||||||
vector_set (vline, NULL);
|
vector_set (vline, NULL);
|
||||||
|
|
||||||
if (matched)
|
if (matched)
|
||||||
XFREE (MTYPE_TMP, matched);
|
vector_only_index_free (matched);
|
||||||
matched = cmd_complete_command (vline, vty, &complete_status);
|
matched = cmd_complete_command (vline, vty, &complete_status);
|
||||||
cmd_free_strvec (vline);
|
cmd_free_strvec (vline);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user