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.
This commit is contained in:
Jean-Philippe Andre 2014-01-13 15:52:00 +09:00
parent 35fd233d0c
commit a0dc5c16ac
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}