diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-27 18:51:47 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-27 18:51:47 +0000 |
commit | fd4fed4f5cee936f943df05ae404b037d788262a (patch) | |
tree | 31275b6d75eacf97c291cffa971a341b9055444d /usr.bin/tmux/window-choose.c | |
parent | 0196dc2665606f35a7cbd1ca368d9649507245aa (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.c | 4 |
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); |