Re: [patch] image: increase reference count for parent
"Henry (Yu) Song - SISA" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <3955FA337689574EB32F94B12A7E6E9E434AC761@sisaex01sj> |
Maybe don't call cairo_surface_destroy (parent) during unmap_image() ? Thanks Henry ________________________________________ From: [email protected] [[email protected]] on behalf of Chris Wilson [[email protected]] Sent: Tuesday, January 29, 2013 8:32 AM To: Henry (Yu) Song - SISA Cc: [email protected] Subject: Re: [cairo] [patch] image: increase reference count for parent On Tue, Jan 29, 2013 at 04:21:58PM +0000, Henry (Yu) Song - SISA wrote: > From 994a83e34b61d4a758c374849f2d7ac6f94aca0b Mon Sep 17 00:00:00 2001 > From: Henry Song <[email protected]> > Date: Tue, 29 Jan 2013 08:19:52 -0800 > Subject: [PATCH] image: increase reference of parent when setting parent That ends up creating reference cycles. I'm not sure the best way to tackle it other than through complex rules. -Chris -- Chris Wilson, Intel Open Source Technology Centre -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo