plug memory leak on client disconnect. From X.Org git.

This commit is contained in:
matthieu 2007-04-18 22:21:17 +00:00
parent fdc55d19a6
commit 90a95c09bd

View File

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