mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +00:00
exa: set driverPriv to NULL before it might get used later with garbage
This commit is contained in:
parent
514ba4ca72
commit
c89b543198
1 changed files with 1 additions and 0 deletions
|
|
@ -257,6 +257,7 @@ exaCreatePixmap(ScreenPtr pScreen, int w, int h, int depth,
|
|||
return NULL;
|
||||
|
||||
pExaPixmap = ExaGetPixmapPriv(pPixmap);
|
||||
pExaPixmap->driverPriv = NULL;
|
||||
|
||||
bpp = pPixmap->drawable.bitsPerPixel;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue