From: Hermet Park Date: Thu, 1 Apr 2021 03:07:25 +0000 (+0900) Subject: evas vg: check return value as same to other usages. X-Git-Tag: submit/tizen/20210401.064607~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F92%2F256292%2F2;p=platform%2Fupstream%2Fefl.git evas vg: check return value as same to other usages. @fix coverity issue. Change-Id: I70364686d56762a9f08e627b9f74dfed9457afb3 --- diff --git a/src/lib/evas/canvas/evas_vg_path_helper.h b/src/lib/evas/canvas/evas_vg_path_helper.h index 2646e96..320464b 100644 --- a/src/lib/evas/canvas/evas_vg_path_helper.h +++ b/src/lib/evas/canvas/evas_vg_path_helper.h @@ -537,7 +537,7 @@ _process_command(Shape_Svg_Path *svg_path, char c, double *pts, ry = fabs(ry); if ((rx < 0.5) || (ry < 0.5)) { - _svg_path_grow(svg_path, 1); + if (!_svg_path_grow(svg_path, 1)) break; svg_path->pts[svg_path->pts_cnt-1].x = x; svg_path->pts[svg_path->pts_cnt-1].y = y; svg_path->cmds[svg_path->cmds_cnt-1] = TVG_PATH_COMMAND_LINE_TO;