forked from enlightenment/efl
Fix segfault: Don't try to printf a debug message if we don't have a cache.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
a4dea5a0cb
commit
28c3b24593
|
@ -182,7 +182,7 @@ _evas_cache_image_entry_delete(Evas_Cache_Image *cache, Image_Entry *ie)
|
|||
Image_Entry_Task *task;
|
||||
|
||||
if (!ie) return;
|
||||
if (cache->func.debug) cache->func.debug("deleting", ie);
|
||||
if ((cache) && (cache->func.debug)) cache->func.debug("deleting", ie);
|
||||
if (ie->flags.delete_me == 1) return;
|
||||
if (ie->preload)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue