Public bug reported: Binary package hint: libenchant-dev
Let's see if I can get this right, first bug report :) Enchant got a memory leak when listing available dictionaries. (e.g. enchant::broker->list_dicts) Valgrind output ==31679== 352 bytes in 11 blocks are definitely lost in loss record 49 of 78 ==31679== at 0x4C23809: operator new(unsigned long) (vg_replace_malloc.c:230) ==31679== by 0x9E618ED: acommon::DictInfoList::elements() const (in /usr/lib/libaspell.so.15.1.4) ==31679== by 0x9C1E15F: (within /usr/lib/enchant/libenchant_aspell.so) ==31679== by 0x56F316F: enchant_broker_list_dicts (in /usr/lib/libenchant.so.1.3.0) [...] As far as I can tell the leak seams to appear in aspell_provider.c (http://www.abisource.com/viewvc/enchant/trunk/src/aspell/aspell_provider.c?view=markup) in function aspell_provider_list_dicts "AspellDictInfoEnumeration * dels" is not deleted properly (wrong place or only deleted once for the two instances) Regards Jonas ** Affects: enchant (Ubuntu) Importance: Undecided Status: New -- [Dappar (and Hardy)]Memory leak in enchant - list_dicts https://bugs.launchpad.net/bugs/305468 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs