jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a0dc5c16acb0eae963581a570e925f2b95bb1560
commit a0dc5c16acb0eae963581a570e925f2b95bb1560 Author: Jean-Philippe Andre <[email protected]> Date: Mon Jan 13 15:52:00 2014 +0900 Evas/cserve2: Add another load error check This one is very unlikely as it would mean the image is invalid while being in the hash. --- src/lib/evas/cache2/evas_cache2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/evas/cache2/evas_cache2.c b/src/lib/evas/cache2/evas_cache2.c index 7d67447..f60a073 100644 --- a/src/lib/evas/cache2/evas_cache2.c +++ b/src/lib/evas/cache2/evas_cache2.c @@ -861,10 +861,10 @@ _scaled_image_find(Image_Entry *im, int src_x, int src_y, int src_w, _evas_cache2_image_activ_add(ret); found: + if (evas_cache2_image_load_data(ret) != EVAS_LOAD_ERROR_NONE) + return NULL; ret->references++; - evas_cache2_image_load_data(ret); - return ret; } --
