xserver: Branch 'server-1.3-branch'

Keith Packard keithp at kemper.freedesktop.org
Sun Feb 18 03:09:20 EET 2007


 os/connection.c |    2 ++
 1 files changed, 2 insertions(+)

New commits:
diff-tree 69073a48e35d5f3cdd6a41d18d3b3cc94072b2c1 (from 0ab6c03c179cea58266f5fefc69931de395fcb24)
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Thu Feb 15 19:09:00 2007 +0200

    os: fix client privates leak
    Minor leak here.  Oops.
    (cherry picked from commit 811675733e97416c990e6dc9c19271b43d96248d)

diff --git a/os/connection.c b/os/connection.c
index 96ad119..98e83ae 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -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);



More information about the xorg-commit mailing list