devilhorns pushed a commit to branch master.
commit 077aee9cef6b0f44504f8d5cc53be0672dbdd4ed
Author: Chris Michael <[email protected]>
Date: Mon Aug 5 14:03:13 2013 +0100
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 <[email protected]>
---
src/lib/ethumb_client/ethumb_client.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib/ethumb_client/ethumb_client.c
b/src/lib/ethumb_client/ethumb_client.c
index 3d62fa1..e306dfb 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)
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;
--
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk