summaryrefslogtreecommitdiff
blob: 02e52dbab90a4090ea7c23863d274c8e78744ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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);