Don't need to allocate memory now that devPrivates are being used.

This commit is contained in:
Eamon Walsh 2006-09-08 15:21:57 -04:00 committed by Eamon Walsh
parent 0b81fccd2e
commit c93877100e

View File

@ -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,