diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-07-28 22:49:26 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-07-28 22:49:26 +0000 |
commit | 1880b83c376eccad40fb87212faf0b51fc45f68b (patch) | |
tree | c3de7a85b7701d12affed684a0b86365e42e2f70 /window-choose.c | |
parent | 46cb0de3471aed81ba5a495b46f9c218f2238e8e (diff) | |
download | rtmux-1880b83c376eccad40fb87212faf0b51fc45f68b.tar.gz rtmux-1880b83c376eccad40fb87212faf0b51fc45f68b.tar.bz2 rtmux-1880b83c376eccad40fb87212faf0b51fc45f68b.zip |
Sync OpenBSD patchset 188:
Get rid of empty mode_key_free function.
Diffstat (limited to 'window-choose.c')
-rw-r--r-- | window-choose.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/window-choose.c b/window-choose.c index d27751e0..6a0d447f 100644 --- a/window-choose.c +++ b/window-choose.c @@ -1,4 +1,4 @@ -/* $Id: window-choose.c,v 1.17 2009-07-17 12:12:54 nicm Exp $ */ +/* $Id: window-choose.c,v 1.18 2009-07-28 22:49:26 tcunha 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); |