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:
c718a41
)
edje: fix a memory leak of Edje_Part_Element for any .edj using them.
author
Cedric Bail
<cedric.bail@samsung.com>
Fri, 11 Oct 2013 05:47:44 +0000
(14:47 +0900)
committer
Cedric Bail
<cedric.bail@samsung.com>
Fri, 11 Oct 2013 05:47:44 +0000
(14:47 +0900)
src/lib/edje/edje_load.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_load.c
b/src/lib/edje/edje_load.c
index
a65dbd5
..
f69b59e
100644
(file)
--- a/
src/lib/edje/edje_load.c
+++ b/
src/lib/edje/edje_load.c
@@
-1608,6
+1608,8
@@
_edje_collection_free(Edje_File *edf, Edje_Part_Collection *ec, Edje_Part_Collec
if(ep->other.desc_rtl)
free(ep->other.desc_rtl);
+ for (j = 0; j < ep->items_count; ++j)
+ free(ep->items[j]);
free(ep->items);
// technically need this - but we ASSUME we use "one_big" so everything gets
// freed in one go lower down when we del the mempool... but what if pool goes