summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-24 18:18:36 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-24 18:44:15 +0900
commit10f7641dda4575a4236cbc45e70afa7bf4758e3e (patch)
tree279fde0aaeacf1b7f3da0d4cb1a05ad440bd25fa
parent71cb445b6c1f4dce5eee0b919a525fe1d554ccff (diff)
evas cache2 - fix coverity CID 1357754
@fix
-rw-r--r--src/lib/evas/cache2/evas_cache2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/cache2/evas_cache2.c b/src/lib/evas/cache2/evas_cache2.c
index bdb97b2793..60242f834c 100644
--- a/src/lib/evas/cache2/evas_cache2.c
+++ b/src/lib/evas/cache2/evas_cache2.c
@@ -920,7 +920,7 @@ evas_cache2_image_scale_load(Image_Entry *im,
920 920
921 ret = _evas_cache2_image_entry_new(im->cache2, hkey, NULL, im->file, im->key, 921 ret = _evas_cache2_image_entry_new(im->cache2, hkey, NULL, im->file, im->key,
922 &lo, &error); 922 &lo, &error);
923 if (error != EVAS_LOAD_ERROR_NONE) 923 if ((!ret) || (error != EVAS_LOAD_ERROR_NONE))
924 { 924 {
925 ERR("Failed to create scale image entry with error code %d.", error); 925 ERR("Failed to create scale image entry with error code %d.", error);
926 926