ecore_exe - fix failed finalize fork to reutrn NULL not ecore_exe_free

dont delete the obj during finalize... just retyurn NULL to fail.
fork() failed for me so i found this... ask not why fork failed... but
it did... and thus found this error handling case.

@fix
This commit is contained in:
Carsten Haitzler 2017-09-02 22:33:00 +09:00
parent d42ec53154
commit f53ea559a1
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ _impl_ecore_exe_efl_object_finalize(Eo *obj, Ecore_Exe_Data *exe)
if (!ok) /* Something went wrong, so pull down everything. */
{
if (exe->pid) ecore_exe_terminate(obj);
IF_FN_DEL(ecore_exe_free, obj);
obj = NULL;
}
else
{