edje_edit - fix Dereference after null check

fix CID 1224350
This commit is contained in:
Carsten Haitzler 2014-09-01 19:27:37 +09:00
parent 1670fa27d9
commit ec3c84b61e
1 changed files with 1 additions and 1 deletions

View File

@ -11072,7 +11072,7 @@ _edje_edit_internal_save(Evas_Object *obj, int current_only, Eina_Bool generate_
}
}
if (eed->bytecode_dirty || eed->script_need_recompile)
if ((eed->bytecode_dirty || eed->script_need_recompile) && ed->collection)
{
char buf[64];
Eina_Iterator *it;