os: fix client privates leak

Minor leak here.  Oops.
(cherry picked from commit 811675733e)
This commit is contained in:
Daniel Stone 2007-02-15 19:09:00 +02:00 committed by Keith Packard
parent 0ab6c03c17
commit 69073a48e3

View file

@ -1042,6 +1042,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);