summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty-keys.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-07-10 11:53:01 +0000
committernicm <nicm@openbsd.org>2012-07-10 11:53:01 +0000
commit7d053cf95f3066c6e73307ead04fc57226a3af39 (patch)
treeefeaa09d389b020f6bce2de45058037a32cbbf0e /usr.bin/tmux/tty-keys.c
parentInstead of <arpa/inet.h> pulling in <netinet/in.h>, just copy in the (diff)
downloadwireguard-openbsd-7d053cf95f3066c6e73307ead04fc57226a3af39.tar.xz
wireguard-openbsd-7d053cf95f3066c6e73307ead04fc57226a3af39.zip
xfree is not particularly helpful, remove it. From Thomas Adam.
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 b8012f0c041..3d7b1ec3c65 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.41 2012/05/22 14:32:28 nicm Exp $ */
+/* $OpenBSD: tty-keys.c,v 1.42 2012/07/10 11:53:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -384,7 +384,7 @@ tty_keys_free1(struct tty_key *tk)
tty_keys_free1(tk->left);
if (tk->right != NULL)
tty_keys_free1(tk->right);
- xfree(tk);
+ free(tk);
}
/* Lookup a key in the tree. */