From f75eb62c556d514c69fe66b4969cca64b9d35473 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Thu, 26 Oct 2017 10:42:25 -0700 Subject: [PATCH] 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);