diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-09-21 22:14:21 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-09-22 01:27:25 +0100 |
commit | 00e8de212b46a243f243b437b7eb866315ab89b3 (patch) | |
tree | e3fc24f97435b13fac3928566c2557d283f96978 | |
parent | bd817e2d733dfdb1140874b06595ccd1ef39159b (diff) |
Check the correct Picture for error during creation.
-rw-r--r-- | uxa/uxa-render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c index 8eee6a69..4850185d 100644 --- a/uxa/uxa-render.c +++ b/uxa/uxa-render.c @@ -361,7 +361,7 @@ uxa_picture_from_a1_pixman_image (ScreenPtr pScreen, PictureMatchFormat (pScreen, 1, PICT_a1), 0, 0, serverClient, &error); FreeScratchPixmapHeader (pPixmap); - if (!pPicture) { + if (!pSrc) { FreePicture (pPicture, 0); return 0; } |