On 02/10/13 09:15, Yakov Goldberg wrote: > I was trying to play with very simple ELM application, like this :) > > =================== > #include <Elementary.h> > > int > main(int argc, char **argv) > { > elm_init(argc, argv); > elm_shutdown(); > return 0; > } > =================== > > and noticed lot of "still reachable" memory: > > ==11408== 256 bytes in 1 blocks are still reachable in loss record 582 > of 631 > ==11408== at 0x402B965: calloc (in > /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) > ==11408== by 0x4626AEE: _dich_chain_alloc (eo.c:55) > ==11408== by 0x4626B3C: _dich_copy_all (eo.c:71) > ==11408== by 0x4628A92: eo_class_new (eo.c:988) > ==11408== by 0x68667B2: ecore_idle_enterer_class_get (in > /opt/e17/lib/libecore.so.1.7.99) > ==11408== by 0x6865F63: ecore_idle_enterer_add (ecore_idle_enterer.c:85) > ==11408== by 0x4535F32: ecore_evas_init (ecore_evas.c:313) > ==11408== by 0x418551F: elm_quicklaunch_sub_init (elm_main.c:692) > ==11408== by 0x4184AC6: elm_init (elm_main.c:319) > ==11408== by 0x80485A7: main (main2.c:8) > > looks like eo_shutdown never called from ecore_shutdown > I'm not familiar with ecore, could someone take a look?
As a decision we don't "fix" still reachable. I think we should, and I do, feel free to do the same. Looking at it, it looks like the ecore_idle_enterer class is not being freed. Something that should have done by Eo. This means it's just Eo, take a look if you'd like. -- Tom. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel