Re: cairo_font_face_t not freeing

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
On Tue, 2 May 2017 08:05:06 -0400, Louis M wrote:

> The pointer before the 'cairo_font_face_destroy' should be valid
> because I didn't free the it yet. The output of this example program
> is this:
> 
> Refcount before freeing=2
> Refcount after freeing=1

If the pointer is valid, then the refcount must be nonzero. So the
above numbers look fine.

You can never see a meaningful refcount of zero, because by then the
pointer will not be valid.
-- 
cairo mailing list
[email protected]
https://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.