elementary: don't forget to destroy weak ref when free the iterator.
authorCedric BAIL <cedric@osg.samsung.com>
Thu, 26 Oct 2017 17:42:25 +0000 (10:42 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 26 Oct 2017 17:42:25 +0000 (10:42 -0700)
src/lib/elementary/elm_config.c

index 2227e3b..26cddfb 100644 (file)
@@ -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);