summaryrefslogtreecommitdiff
path: root/src/lib/evas/cache2
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-11 22:06:16 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-11 22:06:16 +0900
commit2b413d3f875d2c8be316592a7e56f94057f7d57b (patch)
treea80c04953f4592b14cdb2a1c89aaee3ce9c2c478 /src/lib/evas/cache2
parent2d003e25035aa11957b3e2c7c9d948ee938fd660 (diff)
evas cache - avoid possible deref of null pointer
this fixes CID 1267472
Diffstat (limited to 'src/lib/evas/cache2')
-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 d9788aac31..bdb97b2793 100644
--- a/src/lib/evas/cache2/evas_cache2.c
+++ b/src/lib/evas/cache2/evas_cache2.c
@@ -932,7 +932,7 @@ evas_cache2_image_scale_load(Image_Entry *im,
932 error = evas_cache2_image_load_data(ret); 932 error = evas_cache2_image_load_data(ret);
933 if (error != EVAS_LOAD_ERROR_NONE) 933 if (error != EVAS_LOAD_ERROR_NONE)
934 { 934 {
935 _evas_cache2_image_entry_delete(im->cache2, ret); 935 if (ret) _evas_cache2_image_entry_delete(im->cache2, ret);
936 goto parent_out; 936 goto parent_out;
937 } 937 }
938 938