ecore_win32: fix segfault

Summary:
_ecore_exe_pipe_read_thread_cb and _ecore_exe_pipe_error_thread_cb expecting
object as argument.

Reviewers: cedric, seoz, Hermet

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2185

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Andrii Kroitor 2015-03-18 11:05:20 +01:00 committed by Cedric BAIL
parent 190f13f430
commit 9f96d4996c
1 changed files with 2 additions and 2 deletions

View File

@ -429,7 +429,7 @@ _impl_ecore_exe_eo_base_finalize(Eo *obj, Ecore_Exe_Data *exe)
goto close_pipe_read;
exe->pipe_read.thread = (HANDLE)_beginthreadex(NULL, 0,
_ecore_exe_pipe_read_thread_cb,
exe, 0, NULL);
obj, 0, NULL);
if (!exe->pipe_read.thread)
goto close_pipe_read;
}
@ -443,7 +443,7 @@ _impl_ecore_exe_eo_base_finalize(Eo *obj, Ecore_Exe_Data *exe)
goto close_pipe_error;
exe->pipe_error.thread = (HANDLE)_beginthreadex(NULL, 0,
_ecore_exe_pipe_error_thread_cb,
exe, 0, NULL);
obj, 0, NULL);
if (!exe->pipe_error.thread)
goto close_pipe_error;
}