mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Don't need to allocate memory now that devPrivates are being used.
This commit is contained in:
@@ -1131,12 +1131,6 @@ CALLBACK(SecurityClientStateCallback)
|
||||
XID authId = AuthorizationIDOfClient(client);
|
||||
SecurityAuthorizationPtr pAuth;
|
||||
|
||||
/* allocate space for security state */
|
||||
STATEPTR(client) = xalloc(sizeof(SecurityClientStateRec));
|
||||
if (!STATEPTR(client))
|
||||
FatalError("Client %d: couldn't allocate security state\n",
|
||||
client->index);
|
||||
|
||||
TRUSTLEVEL(client) = XSecurityClientTrusted;
|
||||
AUTHID(client) = authId;
|
||||
pAuth = (SecurityAuthorizationPtr)LookupIDByType(authId,
|
||||
|
||||
Reference in New Issue
Block a user