projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f63b0
)
index: fix mem leak on focus next
author
Amitesh Singh
<amitesh.sh@samsung.com>
Tue, 24 Jan 2017 16:45:55 +0000
(22:15 +0530)
committer
Amitesh Singh
<amitesh.sh@samsung.com>
Tue, 24 Jan 2017 16:45:55 +0000
(22:15 +0530)
This patch fixes an eina list mem leak on each
focus next(tab/alt-tab) traversal.
@fix
src/lib/elementary/elm_index.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_index.c
b/src/lib/elementary/elm_index.c
index
76b6be4
..
a407ba8
100644
(file)
--- 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))