Contents of /trunk/xorg-server/patches/xorg-server-1.2.0-client-leak.patch
Parent Directory | Revision Log
Revision 153 -
(show annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 363 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 363 byte(s)
-import
1 | --- a/os/connection.c |
2 | +++ b/os/connection.c |
3 | @@ -1066,6 +1066,8 @@ CloseDownConnection(ClientPtr client) |
4 | XdmcpCloseDisplay(oc->fd); |
5 | #endif |
6 | CloseDownFileDescriptor(oc); |
7 | + FreeOsBuffers(oc); |
8 | + xfree(client->osPrivate); |
9 | client->osPrivate = (pointer)NULL; |
10 | if (auditTrailLevel > 1) |
11 | AuditF("client %d disconnected\n", client->index); |