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

This commit is contained in:
Ben Skeggs 2007-11-17 18:20:49 +10:00 committed by Dave Airlie
parent 514ba4ca72
commit c89b543198

View File

@ -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;