mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-12 06:59:05 +02:00
Sync OpenBSD patchset 188:
Get rid of empty mode_key_free function.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user