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: status.c,v 1.103 2009-07-28 22:44:38 tcunha Exp $ */
/* $Id: status.c,v 1.104 2009-07-28 22:49:26 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -622,8 +622,6 @@ status_prompt_clear(struct client *c)
if (c->prompt_freefn != NULL && c->prompt_data != NULL)
c->prompt_freefn(c->prompt_data);
mode_key_free(&c->prompt_mdata);
xfree(c->prompt_string);
c->prompt_string = NULL;