forked from enlightenment/efl
Fix a segie. Thanks to CodeWarrior for helping to find it.
SVN revision: 21929
This commit is contained in:
parent
237a7678de
commit
c4b63aa74a
|
@ -733,7 +733,8 @@ ecore_exe_event_data_get(Ecore_Exe * exe, Ecore_Exe_Flags flags)
|
|||
}
|
||||
if (i > last) /* Partial line left over, save it for next time. */
|
||||
{
|
||||
e->size = last;
|
||||
if (e)
|
||||
e->size = last;
|
||||
if (flags & ECORE_EXE_PIPE_READ)
|
||||
{
|
||||
exe->read_data_size = i - last;
|
||||
|
|
Loading…
Reference in New Issue