summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-11-17 18:20:49 +1000
committerDave Airlie <airlied@linux.ie>2007-11-17 18:20:49 +1000
commitc89b543198d5ec56ff025bdd6bb7229523478e58 (patch)
treeaee1ee9a45af900f544f0ecf43b339f1874e69fa
parent514ba4ca727f0b1076bc67500617722203d34daa (diff)
exa: set driverPriv to NULL before it might get used later with garbage
-rw-r--r--exa/exa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exa/exa.c b/exa/exa.c
index 1f85d8ef0..4ed1a1ad3 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -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;