Re: [patch] subsurface: fix memory leak

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <1339709958_22701@CP5-2952>
On Thu, 14 Jun 2012 21:28:09 +0000, "Henry (Yu) Song - SISA" <[email protected]> wrote:
> Hi, Chris
> 
> How about this
> 
> commit 43fef9e03a453eecaf6fd5a83674de8928fc0d73
> Author: Henry Song <[email protected]>
> Date:   Thu Jun 14 14:24:35 2012 -0700
> 
>     gl: we do not set snapshot of a subsurface, this causes a memory leak.
>     Instead, we roll our own dice

No, it fails to discard the cache if the target surface is updated, so
you end up using a stale copy.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.