summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uxa/uxa-render.c2
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;
}