From 784a74df0b4c5ad31e05973f742b529059d087ea Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 15 Feb 2013 02:18:38 +0000 Subject: [PATCH] Fix function parameter to tty_keys_free. --- tty-keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tty-keys.c b/tty-keys.c index 70d1fbbf..bd7fdb1c 100644 --- a/tty-keys.c +++ b/tty-keys.c @@ -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++) {