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-more.c,v 1.32 2009-06-25 16:21:32 nicm Exp $ */
/* $Id: window-more.c,v 1.33 2009-07-28 22:49:26 tcunha 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);