Sync OpenBSD patchset 188:

Get rid of empty mode_key_free function.
This commit is contained in:
Tiago Cunha
2009-07-28 22:49:26 +00:00
parent 46cb0de347
commit 1880b83c37
7 changed files with 7 additions and 23 deletions

View File

@ -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);