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