gengrid: Fix memory leak

Reviewers: SanghyeonLee

Reviewed By: SanghyeonLee

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11930
This commit is contained in:
Subhransu Mohanty 2020-06-25 17:02:22 +09:00 committed by SangHyeon Jade Lee
parent 1b1f59a0fc
commit 6ab86d5052
1 changed files with 1 additions and 1 deletions

View File

@ -3993,7 +3993,7 @@ _item_select(Elm_Gen_Item *it)
efl_access_state_changed_signal_emit(eo_it, EFL_ACCESS_STATE_TYPE_SELECTED, EINA_TRUE);
}
efl_ref(eo_it);
efl_unref(eo_it);
sd->walking--;
if ((sd->clear_me) && (!sd->walking))
_internal_elm_gengrid_clear(WIDGET(it), EINA_TRUE);