diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2006-09-08 15:21:57 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2006-09-08 15:21:57 -0400 |
commit | c93877100eb98647c5b6b8556730d54677f730b6 (patch) | |
tree | 236b526403cee11247ea875ece79dc3dc6ba282d /Xext | |
parent | 0b81fccd2ee4e054e5cffb739de07460ff2c13f7 (diff) |
Don't need to allocate memory now that devPrivates are being used.
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/security.c | 6 |
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, |