summaryrefslogtreecommitdiff
path: root/tests/test-commands.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-01-26 21:57:24 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-01-31 15:28:19 +0100
commit66d29a54a1325217295d19243a5003b65f6ededd (patch)
treeac9743de6af2489ebdcc78909e44310d2bcfcd4c /tests/test-commands.c
parent55b7f20fda27ad22d211e7b881194fc414687274 (diff)
lib: clean up tab-completion memory counting
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
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;