aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2014-02-20 12:21:55 +0900
committerCedric BAIL <cedric.bail@samsung.com>2014-02-20 12:21:55 +0900
commit4b2708a502f8c49b757c2fb3ac7c57d003397abe (patch)
tree6925a7e12703b73e82099826362e9f2457979011 /src
parentEvas textblock: Fixed a few word start/end issues. (diff)
downloadefl-4b2708a502f8c49b757c2fb3ac7c57d003397abe.tar.gz
edje: Edje_Edit - make sure we don't use an not initialized value.
Should close CID 1181885 and CID 1181888.
Diffstat (limited to 'src')
-rw-r--r--src/lib/edje/edje_edit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 57246dca5c..bcaf0271a4 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -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))
return EINA_FALSE;
- if (ed->file)
+ if (ed->file) return EINA_FALSE;
+
ce = eina_hash_find(ed->file->collection, ed->group);
/* Alloc Edje_Part or return */