forked from enlightenment/efl
efl/cserve2: Increase refcount of scaled image entries properly
Patch by: Paulo Alcantara <pcacjr@profusion.mobi> SVN revision: 82484
This commit is contained in:
parent
e8cc9680d0
commit
d7ae50462c
|
@ -825,6 +825,8 @@ _scaled_image_find(Image_Entry *im, int src_x, int src_y, int src_w, int src_h,
|
||||||
_evas_cache_image_activ_add(ret);
|
_evas_cache_image_activ_add(ret);
|
||||||
|
|
||||||
found:
|
found:
|
||||||
|
ret->references++;
|
||||||
|
|
||||||
evas_cache2_image_load_data(ret);
|
evas_cache2_image_load_data(ret);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue