forked from enlightenment/efl
edje_edit: Check return of _edje_edit_edje_file_save and close files if we fail
We check the retrun of _edje_edit_edje_file_save everywhere else and should do here as well. CID 1224759
This commit is contained in:
parent
7e2d60a63c
commit
cfba724a37
|
@ -11219,7 +11219,12 @@ edje_edit_clean_save_as(Evas_Object *obj, const char* new_file_name)
|
|||
}
|
||||
|
||||
/* copying file structure */
|
||||
_edje_edit_edje_file_save(ef_out, ed->file);
|
||||
if (!_edje_edit_edje_file_save(ef_out, ed->file))
|
||||
{
|
||||
eet_close(ef);
|
||||
eet_close(ef_out);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
int count = 0;
|
||||
char **ent = eet_list(ef, "*", &count);
|
||||
|
|
Loading…
Reference in New Issue