summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-03-21 16:51:12 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-03-21 16:51:12 +0000
commit57bed77eaa528457c16bcf31618cf4373a2e7a27 (patch)
treeac38b58522b5504704a279617561a4273a6652d2
parent31cdce0f1f8632fd2ac6d9512ab0e015ad99da0a (diff)
Fix function parameter to tty_keys_free.
-rw-r--r--usr.bin/tmux/tty-keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty-keys.c b/usr.bin/tmux/tty-keys.c
index 5d90568da61..96b2d89532a 100644
--- a/usr.bin/tmux/tty-keys.c
+++ b/usr.bin/tmux/tty-keys.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-keys.c,v 1.48 2013/03/21 16:50:22 nicm Exp $ */
+/* $OpenBSD: tty-keys.c,v 1.49 2013/03/21 16:51:11 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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++) {