pointed out by jiyoun ... but patch wasn't quite right. shouldnt

manually ref-- the old im - should call drop. also... dont make
original dirty as we don't modify it, we just drop (unref) it.



SVN revision: 59431
This commit is contained in:
Carsten Haitzler 2011-05-16 02:06:41 +00:00
parent 56b342ccc9
commit a59cd2a040
1 changed files with 2 additions and 2 deletions

View File

@ -1128,11 +1128,11 @@ evas_cache_image_size_set(Image_Entry *im, unsigned int w, unsigned int h)
#ifdef EVAS_FRAME_QUEUING
LKL(im2->lock_references);
#endif
im->references = 1;
im2->references = 1;
#ifdef EVAS_FRAME_QUEUING
LKU(im2->lock_references);
#endif
_evas_cache_image_dirty_add(im);
evas_cache_image_drop(im);
if (cache->func.debug) cache->func.debug("size_set", im2);
return im2;