cedric pushed a commit to branch efl-1.21.

http://git.enlightenment.org/core/efl.git/commit/?id=98f1847f3556e192bec3164c2ff8d69416e9e96c

commit 98f1847f3556e192bec3164c2ff8d69416e9e96c
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Oct 9 13:00:01 2018 +0100

    evas cache - avoid a segv...
    
    but this needs mroe digging as to how this state was gotten to to
    begin with.
---
 src/lib/evas/cache/evas_cache_image.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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);

-- 


Reply via email to