summaryrefslogtreecommitdiff
path: root/src/sna/sna_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_render.c')
-rw-r--r--src/sna/sna_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c
index 90e6e235..336a4238 100644
--- a/src/sna/sna_render.c
+++ b/src/sna/sna_render.c
@@ -1725,7 +1725,7 @@ sna_render_picture_convert(struct sna *sna,
pixmap->drawable.depth,
picture->format),
0, NULL, serverClient, &error);
- if (dst == NULL) {
+ if (src == NULL) {
FreePicture(dst, 0);
screen->DestroyPixmap(tmp);
return 0;