hmm no - we shouldnt delete here.. we just find it in the active image
authorCarsten Haitzler <raster@rasterman.com>
Thu, 9 Feb 2012 03:50:10 +0000 (03:50 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Thu, 9 Feb 2012 03:50:10 +0000 (03:50 +0000)
hash. as such the image is dirtied and thus removed from this hash
anyway so it doesnt need deleting.

SVN revision: 67778

legacy/evas/src/lib/cache/evas_cache_image.c

index 8f73015..d5b72c5 100644 (file)
@@ -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;
      }