mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 08:18:13 +02:00
os: fix client privates leak
Minor leak here. Oops.
(cherry picked from commit 811675733e)
This commit is contained in:
parent
0ab6c03c17
commit
69073a48e3
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue