fix edje object leak if child obj file set fails!!!

SVN revision: 65402
This commit is contained in:
Carsten Haitzler 2011-11-19 04:16:32 +00:00
parent 0fdebe55f5
commit e5667ae16b
1 changed files with 1 additions and 0 deletions

View File

@ -722,6 +722,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const char *file, const char *g
}
}
ed->load_error = edje_object_load_error_get(child_obj);
evas_object_del(child_obj);
evas_event_thaw(tev);
evas_event_thaw_eval(tev);
return 0;