Don't need to allocate memory now that devPrivates are being used.
This commit is contained in:
parent
0b81fccd2e
commit
c93877100e
|
@ -1131,12 +1131,6 @@ CALLBACK(SecurityClientStateCallback)
|
||||||
XID authId = AuthorizationIDOfClient(client);
|
XID authId = AuthorizationIDOfClient(client);
|
||||||
SecurityAuthorizationPtr pAuth;
|
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;
|
TRUSTLEVEL(client) = XSecurityClientTrusted;
|
||||||
AUTHID(client) = authId;
|
AUTHID(client) = authId;
|
||||||
pAuth = (SecurityAuthorizationPtr)LookupIDByType(authId,
|
pAuth = (SecurityAuthorizationPtr)LookupIDByType(authId,
|
||||||
|
|
Loading…
Reference in New Issue