diff options
author | Dodji Seketeli <dodji@seketeli.org> | 2007-07-03 11:00:29 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-07-03 11:00:29 +0200 |
commit | 2a75c774975b50dd4e71b7dbea7bd65ca2984a43 (patch) | |
tree | 02324ea8dc452a207925c0fade8001c0604e128b /exa | |
parent | 0ede39a25cf5b0b6c2c89677f810c21ce42b95df (diff) |
ExaOffscreenMarkUsed: Don't crash when there's no offscreen memory.
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa_offscreen.c | 2 |
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. */ |