fix some nasty image cache issues i've found like double-frees, leaks
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 21 Apr 2011 06:24:27 +0000 (06:24 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 21 Apr 2011 06:24:27 +0000 (06:24 +0000)
commitcc2e84d5d62bcb87d84c6517420b0e34024cd649
treea1c28464be3feb5cea270f801c4ee40cea90609d
parent82b1bae7c1aa15ee74921ec2f53bcddf68fd6139
fix some nasty image cache issues i've found like double-frees, leaks
etc. etc. in corner-cases. it also re-factors the image cache code to
be much more manageable and understandable with cache/list management
doing the right thing in the internal calls.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58779 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/cache/evas_cache_image.c
src/lib/include/evas_common.h