=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/server-client.c,v retrieving revision 1.246 retrieving revision 1.247 diff -c -r1.246 -r1.247 *** src/usr.bin/tmux/server-client.c 2017/12/19 15:00:39 1.246 --- src/usr.bin/tmux/server-client.c 2018/02/05 08:21:54 1.247 *************** *** 1,4 **** ! /* $OpenBSD: server-client.c,v 1.246 2017/12/19 15:00:39 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: server-client.c,v 1.247 2018/02/05 08:21:54 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott *************** *** 195,201 **** c->tty.sx = 80; c->tty.sy = 24; ! screen_init(&c->status, c->tty.sx, 1, 0); c->message_string = NULL; TAILQ_INIT(&c->message_log); --- 195,201 ---- c->tty.sx = 80; c->tty.sy = 24; ! screen_init(&c->status.status, c->tty.sx, 1, 0); c->message_string = NULL; TAILQ_INIT(&c->message_log); *************** *** 272,283 **** if (c->stderr_data != c->stdout_data) evbuffer_free(c->stderr_data); ! if (event_initialized(&c->status_timer)) ! evtimer_del(&c->status_timer); ! screen_free(&c->status); ! if (c->old_status != NULL) { ! screen_free(c->old_status); ! free(c->old_status); } free(c->title); --- 272,283 ---- if (c->stderr_data != c->stdout_data) evbuffer_free(c->stderr_data); ! if (event_initialized(&c->status.timer)) ! evtimer_del(&c->status.timer); ! screen_free(&c->status.status); ! if (c->status.old_status != NULL) { ! screen_free(c->status.old_status); ! free(c->status.old_status); } free(c->title);