forked from enlightenment/efl
edje: Edje_Edit - make sure we don't use an not initialized value.
Should close CID 1181885 and CID 1181888.
This commit is contained in:
parent
0e5d3f9b98
commit
4b2708a502
|
@ -2193,7 +2193,8 @@ _edje_edit_real_part_add(Evas_Object *obj, const char *name, Edje_Part_Type type
|
||||||
if (_edje_real_part_get(ed, name))
|
if (_edje_real_part_get(ed, name))
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
|
||||||
if (ed->file)
|
if (ed->file) return EINA_FALSE;
|
||||||
|
|
||||||
ce = eina_hash_find(ed->file->collection, ed->group);
|
ce = eina_hash_find(ed->file->collection, ed->group);
|
||||||
|
|
||||||
/* Alloc Edje_Part or return */
|
/* Alloc Edje_Part or return */
|
||||||
|
|
Loading…
Reference in New Issue