diff options
Diffstat (limited to 'xorg-server/Xext/security.c')
-rw-r--r-- | xorg-server/Xext/security.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xorg-server/Xext/security.c b/xorg-server/Xext/security.c index 2cd0e1774..af8d2052f 100644 --- a/xorg-server/Xext/security.c +++ b/xorg-server/Xext/security.c @@ -1105,17 +1105,17 @@ SecurityExtensionInit(INITARGS) int ret = TRUE; SecurityAuthorizationResType = - CreateNewResourceType(SecurityDeleteAuthorization); + CreateNewResourceType(SecurityDeleteAuthorization, + "SecurityAuthorization"); - RTEventClient = CreateNewResourceType( - SecurityDeleteAuthorizationEventClient); + RTEventClient = + CreateNewResourceType(SecurityDeleteAuthorizationEventClient, + "SecurityEventClient"); if (!SecurityAuthorizationResType || !RTEventClient) return; RTEventClient |= RC_NEVERRETAIN; - RegisterResourceName(SecurityAuthorizationResType, "SecurityAuthorization"); - RegisterResourceName(RTEventClient, "SecurityEventClient"); /* Allocate the private storage */ if (!dixRequestPrivate(stateKey, sizeof(SecurityStateRec))) |