[Fontconfig] font memory leak issue

Archana :) archnavnr24 at gmail.com
Mon May 14 06:15:56 PDT 2012


Hi,

There is some memory leak issue in my code,Valgrind is showing as

53,200 (19,200 direct, 34,000 indirect) bytes in 50 blocks are definitely
lost in loss record 155 of 158
==11740==    at 0x4025016: realloc (vg_replace_malloc.c:525)
==11740==    by 0x4C66966: ??? (in /usr/lib/libfontconfig.so.1.4.4)
==11740==    by 0x4C547A1: ??? (in /usr/lib/libfontconfig.so.1.4.4)
==11740==    by 0x4C55C57: FcConfigSubstituteWithPat (in
/usr/lib/libfontconfig.so.1.4.4)
==11740==    by 0x4C63DC0: FcFontRenderPrepare (in
/usr/lib/libfontconfig.so.1.4.4)
==11740==    by 0x4C63F09: FcFontMatch (in /usr/lib/libfontconfig.so.1.4.4)
==11740==    by 0x4B344B6: FontConfig::Find(char const*, bool, bool)
(unixfontconfig.cpp:74)
==11740==    by 0x4B3439C: FontConfig::FindFont(char const*, bool, bool)
(unixfontconfig.cpp:49)

Can anyone suggest me how to resolve this issue.

Archana.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20120514/7939501c/attachment.html>


More information about the Fontconfig mailing list