raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=8764bd240ca0f1c3a66a9df1e0d34c3806dc5d76
commit 8764bd240ca0f1c3a66a9df1e0d34c3806dc5d76 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Thu Feb 13 19:27:11 2014 +0900 evas cserve2 - fix chekc of wrong return type the wrong value was checked (not the returned value) - coverity caught this. fixes CID 1135269 --- src/bin/evas/evas_cserve2_index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/evas/evas_cserve2_index.c b/src/bin/evas/evas_cserve2_index.c index bfa10b3..42bcffa 100644 --- a/src/bin/evas/evas_cserve2_index.c +++ b/src/bin/evas/evas_cserve2_index.c @@ -429,7 +429,7 @@ cserve2_shared_array_repack(Shared_Array *sa, int generation_id, // Create new array sa2 = cserve2_shared_array_new(sa->header->tag, generation_id, elemsize, newcount); - if (!sa) + if (!sa2) { ERR("Can not repack array: failed to create new array"); return NULL; --
