[Pixman] [BUG REPORT] pixman_glyph_cache_create leaks memory that it allocates

Pekka Paalanen ppaalanen at gmail.com
Mon Sep 18 11:01:41 UTC 2017


On Mon, 18 Sep 2017 03:19:13 -0700
Yuri <yuri at rawbw.com> wrote:

> On 09/18/17 03:07, Emil Velikov wrote:
> > Yes there's libraries that do all sorts of things to help lazy
> > users... I think pixman is not one of them.  
> 
> pixman allocates and maintains the object, so it should ensure that it 
> is also properly released. It doesn't appear reasonable to expect that 
> many users will be always releasing it. It's easier to do this in one place.

Hi,

I totally agree with Emil. Pixman is not a library that holds the hands
of developers who do not bother following the API. This is C, not some
high-level language that automatically cleans up.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/pixman/attachments/20170918/b6380bb1/attachment-0001.sig>


More information about the Pixman mailing list