Sorry for the previous mail. That was my mistake.
The MLK I am facing is :
==22651== 656 (256 direct, 400 indirect) bytes in 1 blocks are definitely lost in loss record 1,736 of 1,819
==22651== at 0x4005A22: realloc (vg_replace_malloc.c:476)
==22651== by 0x481E0A1: FcPatternObjectInsertElt (fcpat.c:358)
==22651== by 0x482024F: FcPatternObjectAddWithBinding (fcpat.c:507)
==22651== by 0x4820A74: FcPatternObjectAddBool (fcpat.c:537)
==22651== by 0x480D89B: FcDefaultSubstitute (fcdefault.c:136)
==22651== by 0x4674A32: pango_cairo_fc_font_map_fontset_key_substitute (pangocairo-fcfontmap.c:93)
==22651== by 0x4618F4F: pango_fc_default_substitute (pangofc-fontmap.c:1587)
==22651== by 0x4619134: pango_fc_font_map_get_patterns (pangofc-fontmap.c:1641)
==22651== by 0x461938E: pango_fc_font_map_load_fontset (pangofc-fontmap.c:1743)
==22651== by 0x4756859: pango_font_map_load_fontset (pango-fontmap.c:136)
==22651== by 0x4753CE3: itemize_state_update_for_new_run (pango-context.c:1349)
==22651== by 0x4753DDE: itemize_state_process_run (pango-context.c:1388)
Regards
Neha Gupta
Samsung India Software Center(SISC),
Tower A, 10th Floor,
Plot No. C-28,29, Sector 62,
Noida - 201301 (U.P.), INDIA
------- Original Message -------
Sender : NEHA GUPTA<neha.g1@xxxxxxxxxxx> Senior Software Engineer (1)/SISC-SW Development/Samsung Electronics
Date : Mar 31, 2011 16:51 (GMT+05:00)
Title : [Memory Leak] Valgrind reported memory leaks
Hi All
I am getting below memory leaks while running my application with valgrind.
Any idea about below :
Leak 1
==30196== 864 (256 direct, 608 indirect) bytes in 1 blocks are definitely lost in loss record 1,768 of 1,859
==30196== at 0x4005A22: realloc (vg_replace_malloc.c:476)
==30196== by 0xB73131: ??? (in /usr/lib/libfontconfig.so.1.3.0)
==30196== by 0xB73BA7: ??? (in /usr/lib/libfontconfig.so.1.3.0)
==30196== by 0xB741EB: ??? (in /usr/lib/libfontconfig.so.1.3.0)
==30196== by 0xB7014D: FcFontRenderPrepare (in /usr/lib/libfontconfig.so.1.3.0)
==30196== by 0xB70497: FcFontSetMatch (in /usr/lib/libfontconfig.so.1.3.0)
==30196== by 0xB7069C: FcFontMatch (in /usr/lib/libfontconfig.so.1.3.0)
==30196== by 0x46175BD: pango_fc_patterns_get_font_pattern (pangofc-fontmap.c:761)
==30196== by 0x461772B: pango_fc_fontset_load_next_font (pangofc-fontmap.c:846)
==30196== by 0x46177C6: pango_fc_fontset_get_font_at (pangofc-fontmap.c:879)
==30196== by 0x4617B7A: pango_fc_fontset_foreach (pangofc-fontmap.c:1003)
==30196== by 0x475733E: pango_fontset_foreach (pango-fontset.c:101)
Leak 2
==30196== 2,236 (256 direct, 1,980 indirect) bytes in 1 blocks are definitely lost in loss record 1,828 of 1,859
==30196== at 0x4005A22: realloc (vg_replace_malloc.c:476)
==30196== by 0xB73131: ??? (in /usr/lib/libfontconfig.so.1.3.0)
==30196== by 0xB73BA7: ??? (in /usr/lib/libfontconfig.so.1.3.0)
==30196== by 0xB741EB: ??? (in /usr/lib/libfontconfig.so.1.3.0)
==30196== by 0xB7422F: ??? (in /usr/lib/libfontconfig.so.1.3.0)
==30196== by 0xB685C5: FcDefaultSubstitute (in /usr/lib/libfontconfig.so.1.3.0)
==30196== by 0x4674A32: pango_cairo_fc_font_map_fontset_key_substitute (pangocairo-fcfontmap.c:93)
==30196== by 0x4618F4F: pango_fc_default_substitute (pangofc-fontmap.c:1587)
==30196== by 0x4619134: pango_fc_font_map_get_patterns (pangofc-fontmap.c:1641)
==30196== by 0x461938E: pango_fc_font_map_load_fontset (pangofc-fontmap.c:1743)
==30196== by 0x4756859: pango_font_map_load_fontset (pango-fontmap.c:136)
==30196== by 0x4753CE3: itemize_state_update_for_new_run (pango-context.c:1349)
Any guidance would be great help for me . Thanks !!!
Regards
Neha Gupta
Samsung India Software Center(SISC),
Tower A, 10th Floor,
Plot No. C-28,29, Sector 62,
Noida - 201301 (U.P.), INDIA
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig