[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] resource cleanup
From:       Andrea Canciani <ranma42 () gmail ! com>
Date:       2011-02-27 17:13:53
Message-ID: AANLkTi=RqhWQcXLrgOwpWA7dVpTgJ6ZzUi7xnBysvzFo () mail ! gmail ! com
[Download RAW message or body]

2011/2/27 Kozhevnikov Mikhail <mikhailkozhevnikov@yandex.ru>:
> 
> Hello Andrea,
> 
> Thank you, that is exactly what I was looking for!
> After I've added a call to this method at the end of my program there's less \
> "leaks", but some remain. Apparently the memory is allocated by certain pixman \
> methods (stack trace attached). Maybe there's a method similar to \
> cairo_debug_reset_static_data in pixman, too? I failed to find it so far. Or does \
> it mean that something actually went wrong?

Pixman does not provide a function to cleanup the caches.
From your traces it looks like you're seeing the fast-path cache and
the pixman_implementation structure not being freed, which is normal.

Andrea
--
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic