summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-01-24 22:15:55 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2017-01-24 22:15:55 +0530
commit625f7bc90bac9839b639e3dbc1d3446bf6e8cd67 (patch)
tree2922f57f0776c2e10e884bd47023842c288459a5
parent68f63b01e2b4a34f5ed357492268b7040f077a9d (diff)
index: fix mem leak on focus next
This patch fixes an eina list mem leak on each focus next(tab/alt-tab) traversal. @fix
-rw-r--r--src/lib/elementary/elm_index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_index.c b/src/lib/elementary/elm_index.c
index 76b6be4830..a407ba8810 100644
--- a/src/lib/elementary/elm_index.c
+++ b/src/lib/elementary/elm_index.c
@@ -1179,6 +1179,7 @@ _elm_index_elm_widget_focus_next(Eo *obj, Elm_Index_Data *sd, Elm_Focus_Directio
1179 1179
1180 int_ret = elm_widget_focus_list_next_get 1180 int_ret = elm_widget_focus_list_next_get
1181 (obj, items, eina_list_data_get, dir, next, next_item); 1181 (obj, items, eina_list_data_get, dir, next, next_item);
1182 eina_list_free(items);
1182 1183
1183 // to hide index item, if there is nothing to focus on autohide disable mode 1184 // to hide index item, if there is nothing to focus on autohide disable mode
1184 if ((!sd->autohide_disabled) && (!int_ret)) 1185 if ((!sd->autohide_disabled) && (!int_ret))