diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-11-19 12:03:33 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-11-19 12:03:33 +0000 |
commit | a9d6f897e6d6dc388de24f7b49ba79bf1f6125c3 (patch) | |
tree | 7f66907bb597989bb8dc8894dc1d4cb31bc3ea0f /src/sna/sna_composite.c | |
parent | 0782d4e57e4ba33aee30925ad276ee4a1ec15feb (diff) |
sna: Free composite boxes in the unlikely all-invalid path
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_composite.c')
-rw-r--r-- | src/sna/sna_composite.c | 2 |
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(®ion, boxes, num_boxes)) goto cleanup_boxes; |