summaryrefslogtreecommitdiff
path: root/src/cairo-clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-clip.c')
-rw-r--r--src/cairo-clip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-clip.c b/src/cairo-clip.c
index 5de3667d..5ab00663 100644
--- a/src/cairo-clip.c
+++ b/src/cairo-clip.c
@@ -160,11 +160,11 @@ _cairo_clip_path_intersect_to_rectangle (cairo_clip_path_t *clip_path,
}
_cairo_traps_extents (&traps, &extents);
+ _cairo_traps_fini (&traps);
+
_cairo_box_round_to_rectangle (&extents, &extents_rect);
_cairo_rectangle_intersect (rectangle, &extents_rect);
- _cairo_traps_fini (&traps);
-
clip_path = clip_path->prev;
}