evas/cserve2: Fix crash in expedite test 23

Test 23: load lots of scaled images and draw them
Problem: cs2 fails to load more images at some point. (root cause to be fixed!)
After that, client expects some data, but there is none, so it segfaults.
This commit is contained in:
Jean-Philippe Andre 2013-06-05 16:11:13 +09:00 committed by Cedric Bail
parent 1403b3a9ad
commit 6f548d59af
1 changed files with 2 additions and 1 deletions

View File

@ -1358,6 +1358,7 @@ image_loaded:
if (im->cache_entry.space == EVAS_COLORSPACE_ARGB8888)
evas_cache2_image_load_data(&im->cache_entry);
if (!im->cache_entry.flags.loaded) return EINA_FALSE;
evas_common_image_colorspace_normalize(im);
if (smooth)
@ -1384,7 +1385,7 @@ image_loaded:
dst_x, dst_y, dst_w, dst_h);
}
evas_common_cpu_end_opt();
evas_common_cpu_end_opt();
}
return EINA_FALSE;