Fix function parameter to tty_keys_free.

This commit is contained in:
Nicholas Marriott 2013-02-15 02:18:38 +00:00
parent 82355d2f2d
commit 784a74df0b

View File

@ -346,7 +346,7 @@ tty_keys_build(struct tty *tty)
const char *s;
if (tty->key_tree != NULL)
tty_keys_free (tty->key_tree);
tty_keys_free (tty);
tty->key_tree = NULL;
for (i = 0; i < nitems(tty_default_raw_keys); i++) {