summaryrefslogtreecommitdiff
path: root/src/lib/ethumb_client
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-08-05 14:03:13 +0100
committerChris Michael <cp.michael@samsung.com>2013-08-05 14:03:13 +0100
commit077aee9cef6b0f44504f8d5cc53be0672dbdd4ed (patch)
tree6c02ccb82d23f143fcfbf6e3a2228f7246144055 /src/lib/ethumb_client
parent80f24989099dd78484151f076a3f313f477aba30 (diff)
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>
Diffstat (limited to 'src/lib/ethumb_client')
-rw-r--r--src/lib/ethumb_client/ethumb_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ethumb_client/ethumb_client.c b/src/lib/ethumb_client/ethumb_client.c
index 3d62fa1205..e306dfb9cd 100644
--- a/src/lib/ethumb_client/ethumb_client.c
+++ b/src/lib/ethumb_client/ethumb_client.c
@@ -2101,7 +2101,8 @@ _ethumb_client_thumb_generate_idler(void *data EINA_UNUSED)
2101 async->client->ethumb = tmp; 2101 async->client->ethumb = tmp;
2102 } 2102 }
2103 2103
2104 pending = eina_list_append(pending, async); 2104 if (async)
2105 pending = eina_list_append(pending, async);
2105 2106
2106 if (ecore_time_get() - ecore_loop_time_get() > ecore_animator_frametime_get() * 0.5) 2107 if (ecore_time_get() - ecore_loop_time_get() > ecore_animator_frametime_get() * 0.5)
2107 return EINA_TRUE; 2108 return EINA_TRUE;