summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-23 09:36:19 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-23 09:36:19 +0000
commit25e94a05264809294417aeebc63e9d64c487dce1 (patch)
tree4cd3b2f11f52633002372500315e75047848a9c2 /server.c
parent98e7e79e4c52821270e0670273a9149bcb6e5a4c (diff)
List client command.
Diffstat (limited to 'server.c')
-rw-r--r--server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/server.c b/server.c
index f0822f3e..f9720274 100644
--- a/server.c
+++ b/server.c
@@ -1,4 +1,4 @@
-/* $Id: server.c,v 1.29 2007-10-19 20:47:09 nicm Exp $ */
+/* $Id: server.c,v 1.30 2007-10-23 09:36:19 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -309,6 +309,8 @@ server_lost_client(struct client *c)
ARRAY_SET(&clients, i, NULL);
}
+ if (c->tty != NULL)
+ xfree(c->tty);
close(c->fd);
buffer_destroy(c->in);
buffer_destroy(c->out);