forked from enlightenment/efl
evas cache - avoid possible deref of null pointer
this fixes CID 1267472
This commit is contained in:
parent
2d003e2503
commit
2b413d3f87
|
@ -932,7 +932,7 @@ evas_cache2_image_scale_load(Image_Entry *im,
|
|||
error = evas_cache2_image_load_data(ret);
|
||||
if (error != EVAS_LOAD_ERROR_NONE)
|
||||
{
|
||||
_evas_cache2_image_entry_delete(im->cache2, ret);
|
||||
if (ret) _evas_cache2_image_entry_delete(im->cache2, ret);
|
||||
goto parent_out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue