Don't free twice when exiting.

pull/1/head
Nicholas Marriott 2007-12-12 19:44:59 +00:00
parent 5bc8b2b7b6
commit c6efbbb843
2 changed files with 1 additions and 4 deletions

1
TODO
View File

@ -69,4 +69,3 @@
split. string length should be part of the command size
- quick intro section (tmux new/attach/detach) etc
- chmod +x socket when any client is attached (upd in lost/accept)

View File

@ -1,5 +1,5 @@
/* $Id: server-msg.c,v 1.41 2007-12-06 20:53:48 nicm Exp $ */
/* $Id: server-msg.c,v 1.42 2007-12-12 19:44:59 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -253,8 +253,6 @@ server_msg_fn_exiting(struct hdr *hdr, struct client *c)
tty_close(&c->tty);
recalculate_sizes();
server_write_client(c, MSG_EXITED, NULL, 0);
return (0);