raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=17823d21ea6bb9dcadafa95b2d18557200beb8a2

commit 17823d21ea6bb9dcadafa95b2d18557200beb8a2
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sun Jul 26 03:02:06 2015 +0900

    evas - image data unload - try plug another possible crash path
    
    i am not sure if this is the odd crash i am seeing, but in theory it
    could be. as these crashes are rare it's hard to find and gdb is "too
    late" other than telling me the image is freed already by the time we
    do an unload.
---
 src/lib/evas/common/evas_image_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/common/evas_image_main.c 
b/src/lib/evas/common/evas_image_main.c
index 3b852cc..cf38e1d 100644
--- a/src/lib/evas/common/evas_image_main.c
+++ b/src/lib/evas/common/evas_image_main.c
@@ -462,7 +462,7 @@ evas_common_rgba_image_unload(Image_Entry *ie)
           }
         return;
      }
-   evas_common_rgba_image_unload_real(ie);
+   if (!ie->need_unload) evas_common_rgba_image_unload_real(ie);
 }
 
 void

-- 


Reply via email to