Enlightenment CVS committal Author : tsauerbeck Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common Modified Files: evas_image_main.c Log Message: free image cache on shutdown =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_image_main.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -3 -r1.22 -r1.23 --- evas_image_main.c 29 Nov 2005 09:02:51 -0000 1.22 +++ evas_image_main.c 29 Nov 2005 11:46:20 -0000 1.23 @@ -312,6 +312,18 @@ } void +evas_common_image_free_cache(void) +{ + while (cache) + { + RGBA_Image *im = (RGBA_Image *) cache; + + evas_common_image_uncache(im); + evas_common_image_free(im); + } +} + +void evas_common_image_set_cache(int size) { cache_size = size; ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs