oops missing that.. fix

SVN revision: 4404
This commit is contained in:
Carsten Haitzler 2001-03-18 23:23:07 +00:00
parent 183d80c31c
commit 83beae92c5
1 changed files with 2 additions and 1 deletions

View File

@ -50,14 +50,15 @@ __evas_imlib_image_cache_clean(void)
__evas_image_cache_used -=
imlib_image_get_width() *
imlib_image_get_height() * 4;
imlib_free_image_and_decache();
if (last->scaled.image)
{
imlib_context_set_image(last->scaled.image);
imlib_free_image_and_decache();
__evas_image_cache_used -=
imlib_image_get_width() *
imlib_image_get_height() * 4;
}
imlib_free_image();
free(last->file);
free(last);
}