Commit c89b5431 authored by Ben Skeggs's avatar Ben Skeggs Committed by Dave Airlie

exa: set driverPriv to NULL before it might get used later with garbage

parent 514ba4ca
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment