From 967e94dc6b76eac5002e662042760a0d6f76f8ef Mon Sep 17 00:00:00 2001 From: Thiep Ha Date: Tue, 5 Sep 2017 12:02:01 +0900 Subject: [PATCH] textpath: do not process line if failed to allocate segment --- src/lib/elementary/efl_ui_textpath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elementary/efl_ui_textpath.c b/src/lib/elementary/efl_ui_textpath.c index ec0a6a56c7..2931995336 100644 --- a/src/lib/elementary/efl_ui_textpath.c +++ b/src/lib/elementary/efl_ui_textpath.c @@ -380,6 +380,7 @@ _path_data_get(Eo *obj, Efl_Ui_Textpath_Data *pd, Eina_Bool set_min) ERR("Failed to allocate segment"); px0 = px1; py0 = py1; + continue; } seg->type = EFL_GFX_PATH_COMMAND_TYPE_LINE_TO; seg->line.start.x = px0;