summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-02 22:33:00 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-02 22:33:00 +0900
commitf53ea559a134427c3407e7a2b0d338ec8941f4b8 (patch)
treea13a6b001c0ce9e55c41a5febd7c1f9fe30218ca /src/lib/ecore
parentd42ec53154b79257ec727ad012b9bcbee900ddaf (diff)
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
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_exe_posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore/ecore_exe_posix.c b/src/lib/ecore/ecore_exe_posix.c
index 4f5d125944..b8baea81fc 100644
--- a/src/lib/ecore/ecore_exe_posix.c
+++ b/src/lib/ecore/ecore_exe_posix.c
@@ -503,7 +503,7 @@ _impl_ecore_exe_efl_object_finalize(Eo *obj, Ecore_Exe_Data *exe)
503 if (!ok) /* Something went wrong, so pull down everything. */ 503 if (!ok) /* Something went wrong, so pull down everything. */
504 { 504 {
505 if (exe->pid) ecore_exe_terminate(obj); 505 if (exe->pid) ecore_exe_terminate(obj);
506 IF_FN_DEL(ecore_exe_free, obj); 506 obj = NULL;
507 } 507 }
508 else 508 else
509 { 509 {