summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window-choose.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-choose.c
parent0196dc2665606f35a7cbd1ca368d9649507245aa (diff)
Get rid of empty mode_key_free function.
Diffstat (limited to 'usr.bin/tmux/window-choose.c')
-rw-r--r--usr.bin/tmux/window-choose.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/window-choose.c b/usr.bin/tmux/window-choose.c
index 7b6b5af4fea..586fe157636 100644
--- a/usr.bin/tmux/window-choose.c
+++ b/usr.bin/tmux/window-choose.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-choose.c,v 1.3 2009/07/17 07:05:58 nicm Exp $ */
+/* $OpenBSD: window-choose.c,v 1.4 2009/07/27 18:51:46 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -140,8 +140,6 @@ window_choose_free(struct window_pane *wp)
if (data->freefn != NULL && data->data != NULL)
data->freefn(data->data);
- mode_key_free(&data->mdata);
-
for (i = 0; i < ARRAY_LENGTH(&data->list); i++)
xfree(ARRAY_ITEM(&data->list, i).name);
ARRAY_FREE(&data->list);