[cairo] libpixman leak when rasterizing trapezoids

Carl Worth cworth at cworth.org
Thu May 12 16:30:19 PDT 2005


On Wed, 11 May 2005 22:52:04 -0700, Keith Packard wrote:
> libpixman creates an A8 format object and sometimes forgets to destroy
> it (when the bounds of the trapezoids are empty).
> 
> Here's a patch which avoids creating the format object in that case.

That looks fine (as always, memory management in C is a pain).

Please commit.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050512/99c537a5/attachment.pgp


More information about the cairo mailing list