summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input-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/input-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/input-keys.c')
-rw-r--r--usr.bin/tmux/input-keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input-keys.c b/usr.bin/tmux/input-keys.c
index 07018cb320e..6b78bd67264 100644
--- a/usr.bin/tmux/input-keys.c
+++ b/usr.bin/tmux/input-keys.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input-keys.c,v 1.25 2012/05/05 18:48:31 nicm Exp $ */
+/* $OpenBSD: input-keys.c,v 1.26 2012/07/10 11:53:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -164,7 +164,7 @@ input_key(struct window_pane *wp, int key)
if (options_get_number(&wp->window->options, "xterm-keys")) {
if ((out = xterm_keys_lookup(key)) != NULL) {
bufferevent_write(wp->event, out, strlen(out));
- xfree(out);
+ free(out);
return;
}
}