summaryrefslogtreecommitdiff
path: root/src/lib/evas/cache2
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@profusion.mobi>2013-01-09 21:40:25 +0000
committerUlisses Furquim <ulisses@profusion.mobi>2013-01-09 21:40:25 +0000
commitd7ae50462c138b2b354b3bdaa3a31d56306e1309 (patch)
tree55974ec944c5253513b23080d4eedb64da5563a7 /src/lib/evas/cache2
parente8cc9680d06337d480f3e71e80e9d495dd5800cd (diff)
efl/cserve2: Increase refcount of scaled image entries properly
Patch by: Paulo Alcantara <pcacjr@profusion.mobi> SVN revision: 82484
Diffstat (limited to 'src/lib/evas/cache2')
-rw-r--r--src/lib/evas/cache2/evas_cache2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/cache2/evas_cache2.c b/src/lib/evas/cache2/evas_cache2.c
index 3eaf0b3c0d..e780fc5564 100644
--- a/src/lib/evas/cache2/evas_cache2.c
+++ b/src/lib/evas/cache2/evas_cache2.c
@@ -825,6 +825,8 @@ _scaled_image_find(Image_Entry *im, int src_x, int src_y, int src_w, int src_h,
825 _evas_cache_image_activ_add(ret); 825 _evas_cache_image_activ_add(ret);
826 826
827 found: 827 found:
828 ret->references++;
829
828 evas_cache2_image_load_data(ret); 830 evas_cache2_image_load_data(ret);
829 831
830 return ret; 832 return ret;