dri2: fix crasher if DRI2Connect fails
This commit is contained in:
parent
ebc56aca8b
commit
b31de6a590
|
@ -114,7 +114,7 @@ ProcDRI2Connect(ClientPtr client)
|
|||
ScreenPtr pScreen;
|
||||
int fd;
|
||||
const char *driverName;
|
||||
char *busId;
|
||||
char *busId = NULL;
|
||||
unsigned int sareaHandle;
|
||||
|
||||
REQUEST_SIZE_MATCH(xDRI2ConnectReq);
|
||||
|
|
Loading…
Reference in New Issue
Block a user