ami pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=625f7bc90bac9839b639e3dbc1d3446bf6e8cd67

commit 625f7bc90bac9839b639e3dbc1d3446bf6e8cd67
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Tue Jan 24 22:15:55 2017 +0530

    index: fix mem leak on focus next
    
    This patch fixes an eina list mem leak on each
    focus next(tab/alt-tab) traversal.
    
    @fix
---
 src/lib/elementary/elm_index.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/elm_index.c b/src/lib/elementary/elm_index.c
index 76b6be4..a407ba8 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
 
    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))

-- 


Reply via email to