mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-07 21:50:14 +01:00
os: fix client privates leak
Minor leak here. Oops.
This commit is contained in:
parent
8f6961d385
commit
811675733e
1 changed files with 2 additions and 0 deletions
|
|
@ -1066,6 +1066,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