From: Hermet Park Date: Thu, 1 Apr 2021 06:10:47 +0000 (+0900) Subject: evas vg: check return value as same to other usages. X-Git-Tag: submit/tizen/20210401.064607^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf519785fe30b270cb6b28127971bada68349dd3;p=platform%2Fupstream%2Fefl.git evas vg: check return value as same to other usages. @fix coverity issue Change-Id: I020a6501c293488855a81a0392032f354a3c71b3 --- diff --git a/src/lib/evas/canvas/evas_vg_path_helper.h b/src/lib/evas/canvas/evas_vg_path_helper.h index 320464b..260863b 100644 --- a/src/lib/evas/canvas/evas_vg_path_helper.h +++ b/src/lib/evas/canvas/evas_vg_path_helper.h @@ -574,7 +574,7 @@ _process_command(Shape_Svg_Path *svg_path, char c, double *pts, c2y = ey + var.bcp * (var.sin_phi_rx * sin_theta2 - var.cos_phi_ry * cos_theta2); - _svg_path_grow(svg_path, 3); + if (!_svg_path_grow(svg_path, 3)) break; svg_path->pts[svg_path->pts_cnt-3].x = c1x; svg_path->pts[svg_path->pts_cnt-3].y = c1y; svg_path->pts[svg_path->pts_cnt-2].x = c2x;