[cairo] [PATCH] fix bugs 15797 (1.8) and 18632 (master)

Jeff Muizelaar jeff at infidigm.net
Wed Dec 10 14:54:20 PST 2008


On Wed, Dec 10, 2008 at 05:01:43PM -0500, Jeff Muizelaar wrote:
> -    return CGFunctionCreate (cairo_pattern_reference (&gpat->base),
> +    if (!_cairo_pattern_create_copy (&pat, &gpat->base))
> +	/* quartz doesn't deal very well with malloc failing, so there's
> +	* not much point in us trying either */
> +	return NULL;

This condition should, of course, be reversed.

-Jeff


More information about the cairo mailing list