[cairo-commit] src/cairo-clip.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed May 9 23:50:50 EEST 2007
src/cairo-clip.c | 2 ++
1 files changed, 2 insertions(+)
New commits:
diff-tree 3fbc4bb5ae27809f417ec2627fa515375e63a0e7 (from b5d25068796d572b4b0c6e33eecc5f0736fb8f78)
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed May 9 21:41:17 2007 +0100
[cairo-clip] Add missing error status for _cairo__clip_intersect_region()
An out-of-memory error path missed setting CAIRO_STATUS_NO_MEMORY.
diff --git a/src/cairo-clip.c b/src/cairo-clip.c
index 01c8c46..a3284d8 100644
--- a/src/cairo-clip.c
+++ b/src/cairo-clip.c
@@ -350,6 +350,8 @@ _cairo_clip_intersect_region (cairo_clip
if (pixman_region_copy (&clip->region, ®ion) ==
PIXMAN_REGION_STATUS_SUCCESS)
clip->has_region = TRUE;
+ else
+ status = CAIRO_STATUS_NO_MEMORY;
} else {
pixman_region16_t intersection;
pixman_region_init (&intersection);
More information about the cairo-commit
mailing list