From: Cedric BAIL Date: Mon, 9 May 2011 12:55:57 +0000 (+0000) Subject: evas: we should not rely on mutex recursive stuff. fix potential source of bug. X-Git-Tag: submit/efl/20131015.063327~9619 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f91a33ef0d1cdf1cf4b420e2acb5154281fe027f;p=platform%2Fupstream%2Fefl.git evas: we should not rely on mutex recursive stuff. fix potential source of bug. SVN revision: 59294 --- diff --git a/legacy/evas/src/lib/cache/evas_cache_image.c b/legacy/evas/src/lib/cache/evas_cache_image.c index 7e6196c1eb..119c773da8 100644 --- a/legacy/evas/src/lib/cache/evas_cache_image.c +++ b/legacy/evas/src/lib/cache/evas_cache_image.c @@ -546,10 +546,10 @@ evas_cache_image_set(Evas_Cache_Image *cache, unsigned int limit) return; } cache->limit = limit; - evas_cache_image_flush(cache); #ifdef EVAS_FRAME_QUEUING LKU(cache->lock); #endif + evas_cache_image_flush(cache); } EAPI Evas_Cache_Image *