diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c index fd8eb939..a6b539d1 100644 --- a/uxa/uxa-render.c +++ b/uxa/uxa-render.c @@ -806,6 +806,8 @@ uxa_acquire_drawable(ScreenPtr pScreen, pDst = uxa_render_picture(pScreen, pSrc, pSrc->format | (BitsPerPixel(pSrc->pDrawable->depth) << 24), x, y, width, height); + if (!pDst) + return 0; goto done; } else {