Gustavo Sverzut Barbieri <barbi...@profusion.mobi> writes:

> ouch, so they are not refcounted and it will free at first exit...
> that's bad, quite bad :-)
>
> Option #1 is talk to fc guys and see if they can add that. It would be
> more correct.

Looking at Fontconfig's mailing list archives, it looks like vtorri hit
the exact same problem a few years ago but didn't manage to get a
refcounting patch in.

I'll take a look at that now.

In any case, some interesting facts from the mailing list:

  > FcFini() is designed to only be called by debugging code from
  > applications, not for normal use by other libraries.
  http://article.gmane.org/gmane.comp.fonts.fontconfig/3160

  > FcFini was added so that valgrind output could be used to discover
  > leaks in fontconfig. Normal applications should not use it, although
  > I can see why they might want to (eliminate memory usage after a
  > period of using fontconfig).
  http://article.gmane.org/gmane.comp.fonts.fontconfig/3161

Keith Packard did support making FcFini()'s behavior less aggressive
nonetheless.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to