On Fri, 4 Jun 2010 11:43:49 +0800 Brian Wang <brian.wang.0...@gmail.com> said:
ok. leak was actually something else. the below leak report seems totally odd to me - doesn't make sense given the code. > Hello all, > > valgrind complains about it and it does seem to leak the memory quite > a bit if the objects (elm_entry) are created/destroyed from time to > time. I took a look at the code but could not come up with a proper > fix. Any suggestions? Please find the log below and thanks in > advance. :-) > > valgrind log: > ==21088== 2,160 bytes in 108 blocks are definitely lost in loss record > 204 of 216 > ==21088== at 0x4024F20: malloc (vg_replace_malloc.c:236) > ==21088== by 0x41A0F67: eina_array_new (eina_array.c:400) > ==21088== by 0x41A043B: eina_module_list_get (eina_module.c:581) > ==21088== by 0x49E2DD3: ecore_imf_module_init (ecore_imf_module.c:37) > ==21088== by 0x49E1AE0: ecore_imf_init (ecore_imf.c:52) > ==21088== by 0x47717E8: _edje_entry_real_part_init (edje_entry.c:1895) > ==21088== by 0x473973C: _edje_object_file_set_internal (edje_load.c:534) > ==21088== by 0x4741A04: _edje_smart_file_set (edje_smart.c:324) > ==21088== by 0x4738638: edje_object_file_set (edje_load.c:40) > ==21088== by 0x41D2CCA: _elm_theme_set (elm_theme.c:140) > ==21088== by 0x41D2B88: _elm_theme_object_set (elm_theme.c:117) > ==21088== by 0x41EA2F2: elm_entry_add (elm_entry.c:1295) > > > -- > brian > ------------------ > > Cool-Karaoke - The smallest recording studio, in your palm, open-sourced > http://cool-idea.com.tw/ > > iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel