Bug 391890. leaks from pixman_rect_alloc within _cairo_gstate_clip drawing borders. Patch by Vladimir Vukicevic. r/sr=stuart, a=mconnor

This commit is contained in:
sayrer@gmail.com 2007-09-11 13:15:14 -07:00
parent a8aae62a4c
commit 1f479a44ac

View File

@ -2523,6 +2523,8 @@ pixman_region_init_rects (pixman_region16_t *region,
}
pixman_region_init(region);
if (count == 0)
return TRUE;
if (!pixman_rect_alloc(region, count))
return FALSE;