summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@seketeli.org>2007-07-03 11:00:29 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-07-03 11:00:29 +0200
commit2a75c774975b50dd4e71b7dbea7bd65ca2984a43 (patch)
tree02324ea8dc452a207925c0fade8001c0604e128b
parent0ede39a25cf5b0b6c2c89677f810c21ce42b95df (diff)
ExaOffscreenMarkUsed: Don't crash when there's no offscreen memory.
-rw-r--r--exa/exa_offscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exa/exa_offscreen.c b/exa/exa_offscreen.c
index 6fe646a88..c666b001b 100644
--- a/exa/exa_offscreen.c
+++ b/exa/exa_offscreen.c
@@ -429,7 +429,7 @@ ExaOffscreenMarkUsed (PixmapPtr pPixmap)
ExaScreenPriv (pPixmap->drawable.pScreen);
static int iter = 0;
- if (!pExaPixmap->area)
+ if (!pExaPixmap || !pExaPixmap->area)
return;
/* The numbers here are arbitrary. We may want to tune these. */