elementary: don't forget to destroy weak ref when free the iterator.

This commit is contained in:
Cedric BAIL 2017-10-26 10:42:25 -07:00
parent 111caabf10
commit f75eb62c55
1 changed files with 1 additions and 0 deletions

View File

@ -5127,6 +5127,7 @@ _profile_iterator_get_container(Profile_Iterator *it)
static void static void
_profile_iterator_free(Profile_Iterator *it) _profile_iterator_free(Profile_Iterator *it)
{ {
efl_wref_del(it->object, &it->object);
eina_iterator_free(it->real_iterator); eina_iterator_free(it->real_iterator);
elm_config_profile_list_free(it->list); elm_config_profile_list_free(it->list);
free(it); free(it);