[cairo] Leak caused by quartz not implementing release_source_image

Boris Zbarsky bzbarsky at MIT.EDU
Mon May 14 21:46:14 PDT 2007


The image surface that _cairo_quartz_surface_acquire_source_image creates never 
seems to be released, probably because there is no release_source_image callback 
in the quartz code.

The attached patch fixes that problem, at least insofar as the image surface 
itself is no longer leaking.  I'm not sure whether any other cleanup needs to 
happen here.

-Boris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: quartz-image-surface-leak.patch
Type: text/x-patch
Size: 1953 bytes
Desc: not available
Url : http://cairographics.org/archives/cairo/attachments/20070514/187f9160/attachment.bin 


More information about the cairo mailing list