Signed-off-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
}
snprintf(buf, sizeof(buf), "edje/collections/%d", e->id);
epc = eet_data_read(eetf, _edje_edd_edje_part_collection, buf);
+ if (!epc)
+ {
+ eet_close(eetf);
+ return EINA_FALSE;
+ }
/* Search first free id */
id = -1;
/* Create structs */
de = _alloc(sizeof(Edje_Part_Collection_Directory_Entry));
- if (!de) return EINA_FALSE;
+ if (!de)
+ {
+ eet_close(eetf);
+ return EINA_FALSE;
+ }
/* Init Edje_Part_Collection_Directory_Entry */
de->id = id;