aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-10-09 13:00:01 +0100
committerCedric BAIL <cedric@osg.samsung.com>2018-11-14 16:43:54 -0800
commit98f1847f3556e192bec3164c2ff8d69416e9e96c (patch)
treefc1bdb319b98504d53285dfa00f20b59ddc8e10e
parentevas textblock: remove white space after line-break by a next item (diff)
downloadefl-1.21.tar.gz
evas cache - avoid a segv...efl-1.21
but this needs mroe digging as to how this state was gotten to to begin with.
-rw-r--r--src/lib/evas/cache/evas_cache_image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/cache/evas_cache_image.c b/src/lib/evas/cache/evas_cache_image.c
index 11b9a1d64e..2a25a7803f 100644
--- a/src/lib/evas/cache/evas_cache_image.c
+++ b/src/lib/evas/cache/evas_cache_image.c
@@ -361,7 +361,8 @@ _evas_cache_image_async_heavy(void *data)
cache = current->cache;
if ((!current->flags.loaded) &&
- current->info.loader->threadable)
+ (current->info.loader) &&
+ (current->info.loader->threadable))
{
evas_module_task_register(evas_cache_image_cancelled, current);
error = cache->func.load(current);