cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f75eb62c556d514c69fe66b4969cca64b9d35473

commit f75eb62c556d514c69fe66b4969cca64b9d35473
Author: Cedric BAIL <[email protected]>
Date:   Thu Oct 26 10:42:25 2017 -0700

    elementary: don't forget to destroy weak ref when free the iterator.
---
 src/lib/elementary/elm_config.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 2227e3be37..26cddfba46 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -5127,6 +5127,7 @@ _profile_iterator_get_container(Profile_Iterator *it)
 static void
 _profile_iterator_free(Profile_Iterator *it)
 {
+   efl_wref_del(it->object, &it->object);
    eina_iterator_free(it->real_iterator);
    elm_config_profile_list_free(it->list);
    free(it);

-- 


Reply via email to