summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2006-09-08 15:21:57 -0400
committerEamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil>2006-09-08 15:21:57 -0400
commitc93877100eb98647c5b6b8556730d54677f730b6 (patch)
tree236b526403cee11247ea875ece79dc3dc6ba282d /Xext
parent0b81fccd2ee4e054e5cffb739de07460ff2c13f7 (diff)
Don't need to allocate memory now that devPrivates are being used.
Diffstat (limited to 'Xext')
-rw-r--r--Xext/security.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Xext/security.c b/Xext/security.c
index 43f32fccc..54a2b3e3f 100644
--- a/Xext/security.c
+++ b/Xext/security.c
@@ -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,