Fixed dixLookupClient to work with client=NullClient as it did in the 1.3 branch
(cherry picked from commit e41ccc6470
)
This commit is contained in:
parent
b8a07ed44a
commit
ce5a5f9399
|
@ -270,7 +270,8 @@ dixLookupClient(ClientPtr *pClient, XID rid, ClientPtr client, Mask access)
|
|||
*pClient = clients[clientIndex];
|
||||
return Success;
|
||||
bad:
|
||||
client->errorValue = rid;
|
||||
if(client)
|
||||
client->errorValue = rid;
|
||||
*pClient = NULL;
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user