summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/edje/edje_edit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index f13a1f30ac..8784864b12 100644
--- 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)
1599static void 1599static void
1600_mempools_add(Edje_Part_Collection_Directory_Entry *de) 1600_mempools_add(Edje_Part_Collection_Directory_Entry *de)
1601{ 1601{
1602 de->mp = calloc(1, sizeof(Edje_Part_Collection_Directory_Entry_Mp));
1603 if (!de->mp)
1604 return;
1602#define EDIT_EMN(Tp, Sz, Ce) \ 1605#define EDIT_EMN(Tp, Sz, Ce) \
1603 Ce->mp->mp.Tp = eina_mempool_add("chained_mempool", #Tp, NULL, sizeof (Sz), 8); 1606 Ce->mp->mp.Tp = eina_mempool_add("chained_mempool", #Tp, NULL, sizeof (Sz), 8);
1604#define EDIT_EMNP(Tp, Sz, Ce) \ 1607#define EDIT_EMNP(Tp, Sz, Ce) \