summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window-more.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-07-27 18:51:47 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-07-27 18:51:47 +0000
commitfd4fed4f5cee936f943df05ae404b037d788262a (patch)
tree31275b6d75eacf97c291cffa971a341b9055444d /usr.bin/tmux/window-more.c
parent0196dc2665606f35a7cbd1ca368d9649507245aa (diff)
Get rid of empty mode_key_free function.
Diffstat (limited to 'usr.bin/tmux/window-more.c')
-rw-r--r--usr.bin/tmux/window-more.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/window-more.c b/usr.bin/tmux/window-more.c
index fc371a8a298..990d000abd4 100644
--- a/usr.bin/tmux/window-more.c
+++ b/usr.bin/tmux/window-more.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-more.c,v 1.3 2009/06/25 06:15:04 nicm Exp $ */
+/* $OpenBSD: window-more.c,v 1.4 2009/07/27 18:51:46 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -101,8 +101,6 @@ window_more_free(struct window_pane *wp)
struct window_more_mode_data *data = wp->modedata;
u_int i;
- mode_key_free(&data->mdata);
-
for (i = 0; i < ARRAY_LENGTH(&data->list); i++)
xfree(ARRAY_ITEM(&data->list, i));
ARRAY_FREE(&data->list);