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:
45707a7
)
Edje edit: allocate memory for mempools.
author
Mykyta Biliavskyi
<m.biliavskyi@samsung.com>
Tue, 30 Aug 2016 13:57:33 +0000
(16:57 +0300)
committer
Mykyta Biliavskyi
<m.biliavskyi@samsung.com>
Tue, 30 Aug 2016 13:57:53 +0000
(16:57 +0300)
Just added allocations that missed in "edje - reduce another 400k or so
of memory usage (esp hello world)" commit.
src/lib/edje/edje_edit.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_edit.c
b/src/lib/edje/edje_edit.c
index
f13a1f3
..
8784864
100644
(file)
--- a/
src/lib/edje/edje_edit.c
+++ b/
src/lib/edje/edje_edit.c
@@
-1599,6
+1599,9
@@
edje_edit_sound_samplesource_get(Evas_Object *obj, const char *sample_name)
static void
_mempools_add(Edje_Part_Collection_Directory_Entry *de)
{
+ de->mp = calloc(1, sizeof(Edje_Part_Collection_Directory_Entry_Mp));
+ if (!de->mp)
+ return;
#define EDIT_EMN(Tp, Sz, Ce) \
Ce->mp->mp.Tp = eina_mempool_add("chained_mempool", #Tp, NULL, sizeof (Sz), 8);
#define EDIT_EMNP(Tp, Sz, Ce) \