projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bae58b
)
bug fix: fixed memory leak
author
Jaeun Choi
<jaeun12.choi@samsung.com>
Tue, 1 Oct 2013 13:18:57 +0000
(22:18 +0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Tue, 1 Oct 2013 13:18:57 +0000
(22:18 +0900)
Summary:
The original code created an edje object temporarily for index calculation
and didn't delete it which caused memory leak. fixed it.
Test Plan: None
Reviewers: Hermet, seoz
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D246
src/lib/elm_index.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_index.c
b/src/lib/elm_index.c
index
9a56e68
..
c5123c6
100644
(file)
--- a/
src/lib/elm_index.c
+++ b/
src/lib/elm_index.c
@@
-228,6
+228,8
@@
_index_box_auto_fill(Evas_Object *obj,
edje_object_size_min_restricted_calc(o, NULL, &mh, 0, 0);
+ evas_object_del(o);
+
EINA_LIST_FOREACH(sd->items, l, it)
if (it->level == level) num_of_items++;