summaryrefslogtreecommitdiff
path: root/src/bin/evas
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-13 19:27:11 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-13 19:27:11 +0900
commit8764bd240ca0f1c3a66a9df1e0d34c3806dc5d76 (patch)
tree62f6c8ee0ab6348276dc17fe810ca48ab3b03566 /src/bin/evas
parent153bbd800301f5b7ce8df4d5204a57fcfb56577d (diff)
evas cserve2 - fix chekc of wrong return type
the wrong value was checked (not the returned value) - coverity caught this. fixes CID 1135269
Diffstat (limited to 'src/bin/evas')
-rw-r--r--src/bin/evas/evas_cserve2_index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/evas/evas_cserve2_index.c b/src/bin/evas/evas_cserve2_index.c
index bfa10b3ad5..42bcffad37 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,
429 429
430 // Create new array 430 // Create new array
431 sa2 = cserve2_shared_array_new(sa->header->tag, generation_id, elemsize, newcount); 431 sa2 = cserve2_shared_array_new(sa->header->tag, generation_id, elemsize, newcount);
432 if (!sa) 432 if (!sa2)
433 { 433 {
434 ERR("Can not repack array: failed to create new array"); 434 ERR("Can not repack array: failed to create new array");
435 return NULL; 435 return NULL;