evas: use evas_image_cache_drop instead of plain wrong call to free.

SVN revision: 67681
This commit is contained in:
Cedric BAIL 2012-02-01 17:28:30 +00:00
parent 53c539ae55
commit 7055227957
2 changed files with 6 additions and 1 deletions

View File

@ -667,3 +667,7 @@
For example, this can be used to nicely change the font and size
in a text editor.
2012-02-01 Cedric Bail
* Fix crash in Evas engine due to a direct free of an RGBA_Image
instead of properly droping it.

View File

@ -202,7 +202,8 @@ _evas_common_rgba_image_delete(Image_Entry *ie)
}
}
}
free(im);
evas_cache_image_drop(&(im->cache_entry));
}
EAPI void