forked from enlightenment/efl
elementary: don't forget to destroy weak ref when free the iterator.
This commit is contained in:
parent
111caabf10
commit
f75eb62c55
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue