_get_mask_extents creates a pixman region but neglects to destroy it.

reviewed by: otaylor
This commit is contained in:
Keith Packard 2005-05-12 08:04:22 +00:00
parent e4e5b1f00d
commit 52f41b7bf0
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2005-05-12 Keith Packard <keithp@keithp.com>
reviewed by: otaylor
* src/cairo-gstate.c: (_get_mask_extents):
_get_mask_extents creates a pixman region but
neglects to destroy it.
2005-05-11 Owen Taylor <otaylor@redhat.com>
* src/cairo-win32-surface.c (categorize_solid_dest_operator):

View file

@ -873,6 +873,8 @@ _get_mask_extents (cairo_gstate_t *gstate,
_region_rect_extents (clip_region, extents);
pixman_region_destroy (clip_region);
return CAIRO_STATUS_SUCCESS;
}