From aeb0d47f2824fc561710e52281beb4222c42c1ff Mon Sep 17 00:00:00 2001 From: raster Date: Thu, 9 Feb 2012 03:50:10 +0000 Subject: [PATCH] hmm no - we shouldnt delete here.. we just find it in the active image hash. as such the image is dirtied and thus removed from this hash anyway so it doesnt need deleting. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@67778 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/cache/evas_cache_image.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/cache/evas_cache_image.c b/src/lib/cache/evas_cache_image.c index 8f73015..d5b72c5 100644 --- a/src/lib/cache/evas_cache_image.c +++ b/src/lib/cache/evas_cache_image.c @@ -780,8 +780,6 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file, * of an image at a given key. we wither find it and keep re-reffing * it or we dirty it and get it out */ _evas_cache_image_dirty_add(im); - /* this image never used, so it have to be deleted */ - _evas_cache_image_entry_delete(cache, im); im = NULL; } -- 2.7.4