edje: fix a memory leak of Edje_Part_Element for any .edj using them.
This commit is contained in:
parent
c718a41728
commit
64b2b9c2b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue