forked from enlightenment/efl
Ector: Prevent access to NULL
Summary: ector thread can called *data(task) after deleting task object. Test Plan: N/A Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10804
This commit is contained in:
parent
a5837cb4ed
commit
c1f3ad86df
|
@ -570,8 +570,8 @@ static void
|
|||
_done_rle(void *data)
|
||||
{
|
||||
Ector_Software_Shape_Task *task = data;
|
||||
|
||||
task->pd->done = EINA_TRUE;
|
||||
if (task && task->pd)
|
||||
task->pd->done = EINA_TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue