summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-10-26 10:42:25 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-10-26 10:42:25 -0700
commitf75eb62c556d514c69fe66b4969cca64b9d35473 (patch)
treeb4ce4510e25d1ae57e9636c6d0050a7517277c85
parent111caabf107bc032bf7432c152fd492a5295c6b0 (diff)
elementary: don't forget to destroy weak ref when free the iterator.
-rw-r--r--src/lib/elementary/elm_config.c1
1 files changed, 1 insertions, 0 deletions
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)
5127static void 5127static void
5128_profile_iterator_free(Profile_Iterator *it) 5128_profile_iterator_free(Profile_Iterator *it)
5129{ 5129{
5130 efl_wref_del(it->object, &it->object);
5130 eina_iterator_free(it->real_iterator); 5131 eina_iterator_free(it->real_iterator);
5131 elm_config_profile_list_free(it->list); 5132 elm_config_profile_list_free(it->list);
5132 free(it); 5133 free(it);