raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=1b6e3f2611f81aeb16e05812bcb2ab91a72378c2
commit 1b6e3f2611f81aeb16e05812bcb2ab91a72378c2 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Fri Sep 25 11:17:54 2015 +0900 fix coverity complaint (not real bug) - CID 1324882 coverity complained on the n <=- 0 return. it will never be <= 0 if rects2 is non-null. this just should make coverity less noisy. --- src/lib/evas/common/evas_tiler.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/evas/common/evas_tiler.c b/src/lib/evas/common/evas_tiler.c index 91d8fd2..d645d52 100644 --- a/src/lib/evas/common/evas_tiler.c +++ b/src/lib/evas/common/evas_tiler.c @@ -109,7 +109,11 @@ evas_common_tilebuf_get_render_rects(Tilebuf *tb) return NULL; } n = region_rects_num(region2); - if (n <= 0) return NULL; + if (n <= 0) + { + region_free(region2); + return NULL; + } rbuf = malloc(n * sizeof(Tilebuf_Rect)); if (!rbuf) --