summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty-keys.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2013-03-21 16:51:11 +0000
committernicm <nicm@openbsd.org>2013-03-21 16:51:11 +0000
commit998b1aadc49d9b18a7147ed77fd991f632ddea0f (patch)
treea5a59d033d713cd393744ff56cf38bc525242276 /usr.bin/tmux/tty-keys.c
parentTidy by splitting default key tables into two. (diff)
downloadwireguard-openbsd-998b1aadc49d9b18a7147ed77fd991f632ddea0f.tar.xz
wireguard-openbsd-998b1aadc49d9b18a7147ed77fd991f632ddea0f.zip
Fix function parameter to tty_keys_free.
Diffstat (limited to 'usr.bin/tmux/tty-keys.c')
-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++) {