summaryrefslogtreecommitdiff
path: root/src/sna/sna_composite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_composite.c')
-rw-r--r--src/sna/sna_composite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_composite.c b/src/sna/sna_composite.c
index 6078d525..56e34f3a 100644
--- a/src/sna/sna_composite.c
+++ b/src/sna/sna_composite.c
@@ -877,7 +877,7 @@ sna_composite_rectangles(CARD8 op,
}
if (num_boxes == 0)
- return;
+ goto cleanup_boxes;
if (!pixman_region_init_rects(&region, boxes, num_boxes))
goto cleanup_boxes;