[Fontconfig] font memory leak issue

Akira TAGOH akira at tagoh.org
Mon May 14 07:54:35 PDT 2012


On Mon, May 14, 2012 at 10:15 PM, Archana :) <archnavnr24 at gmail.com> wrote:
> 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.

You better upgrade your fontconfig to 2.9.0.

>
> Archana.
>
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fontconfig
>



-- 
Akira TAGOH


More information about the Fontconfig mailing list