mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-06 18:38:02 +02:00
dri2: fix crasher if DRI2Connect fails
This commit is contained in:
parent
2156bdf3b7
commit
7d97c19c2d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue