forked from enlightenment/efl
index: fix mem leak on focus next
This patch fixes an eina list mem leak on each focus next(tab/alt-tab) traversal. @fix
This commit is contained in:
parent
68f63b01e2
commit
625f7bc90b
|
@ -1179,6 +1179,7 @@ _elm_index_elm_widget_focus_next(Eo *obj, Elm_Index_Data *sd, Elm_Focus_Directio
|
|||
|
||||
int_ret = elm_widget_focus_list_next_get
|
||||
(obj, items, eina_list_data_get, dir, next, next_item);
|
||||
eina_list_free(items);
|
||||
|
||||
// to hide index item, if there is nothing to focus on autohide disable mode
|
||||
if ((!sd->autohide_disabled) && (!int_ret))
|
||||
|
|
Loading…
Reference in New Issue