Do not try to append a NULL async client.

NB: Above, _ethumb_client_async_free Could have been called, which
will free the async client. Add valid check for async before we append.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-08-05 14:03:13 +01:00
parent 80f2498909
commit 077aee9cef
1 changed files with 2 additions and 1 deletions

View File

@ -2101,7 +2101,8 @@ _ethumb_client_thumb_generate_idler(void *data EINA_UNUSED)
async->client->ethumb = tmp;
}
pending = eina_list_append(pending, async);
if (async)
pending = eina_list_append(pending, async);
if (ecore_time_get() - ecore_loop_time_get() > ecore_animator_frametime_get() * 0.5)
return EINA_TRUE;