evas: Do not unload pixels from RGBA_Image if cache refcount > 0

SVN revision: 81184
This commit is contained in:
Leandro Pereira 2012-12-17 21:27:40 +00:00
parent 274c9159c9
commit bfe46f54ff
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +259,7 @@ evas_common_rgba_image_unload(Image_Entry *ie)
if (!ie->flags.loaded) return;
if ((!ie->info.module) && (!ie->data1)) return;
if (!ie->file) return;
if (ie->references > 0) return;
ie->flags.loaded = 0;