diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-11-17 18:20:49 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-11-17 18:20:49 +1000 |
commit | c89b543198d5ec56ff025bdd6bb7229523478e58 (patch) | |
tree | aee1ee9a45af900f544f0ecf43b339f1874e69fa /exa | |
parent | 514ba4ca727f0b1076bc67500617722203d34daa (diff) |
exa: set driverPriv to NULL before it might get used later with garbage
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa.c | 1 |
1 files changed, 1 insertions, 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; |