mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Don't leak top line of history and status screen.
This commit is contained in:
4
server.c
4
server.c
@ -1,4 +1,4 @@
|
||||
/* $Id: server.c,v 1.121 2009-02-13 18:57:55 nicm Exp $ */
|
||||
/* $Id: server.c,v 1.122 2009-02-16 18:51:39 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -790,6 +790,8 @@ server_lost_client(struct client *c)
|
||||
|
||||
tty_free(&c->tty, c->flags & CLIENT_SUSPENDED);
|
||||
|
||||
screen_free(&c->status);
|
||||
|
||||
if (c->title != NULL)
|
||||
xfree(c->title);
|
||||
|
||||
|
Reference in New Issue
Block a user