summaryrefslogtreecommitdiff
path: root/os/connection.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2007-02-15 19:09:00 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2007-02-15 19:09:00 +0200
commit811675733e97416c990e6dc9c19271b43d96248d (patch)
tree2038863c0ec26d32122c4df95ead76f1b0800b0a /os/connection.c
parent8f6961d385bda92703f18090cff551409d2710c9 (diff)
os: fix client privates leak
Minor leak here. Oops.
Diffstat (limited to 'os/connection.c')
-rw-r--r--os/connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/connection.c b/os/connection.c
index ffe911e45..d0ffb8156 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -1066,6 +1066,8 @@ CloseDownConnection(ClientPtr client)
XdmcpCloseDisplay(oc->fd);
#endif
CloseDownFileDescriptor(oc);
+ FreeOsBuffers(oc);
+ xfree(client->osPrivate);
client->osPrivate = (pointer)NULL;
if (auditTrailLevel > 1)
AuditF("client %d disconnected\n", client->index);