summaryrefslogtreecommitdiff
path: root/tests/test-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-commands.c')
-rw-r--r--tests/test-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-commands.c b/tests/test-commands.c
index c0bc39f88f..c86ffc5891 100644
--- a/tests/test-commands.c
+++ b/tests/test-commands.c
@@ -317,7 +317,7 @@ test_run(struct prng *prng, struct vty *vty, const char *cmd, unsigned int edit_
printf(" '%s'\n", completions[j]);
XFREE(MTYPE_TMP, completions[j]);
}
- XFREE(MTYPE_VECTOR_INDEX, completions);
+ XFREE(MTYPE_TMP, completions);
}
vty->node = cnode->node;