thiep pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=967e94dc6b76eac5002e662042760a0d6f76f8ef

commit 967e94dc6b76eac5002e662042760a0d6f76f8ef
Author: Thiep Ha <thie...@gmail.com>
Date:   Tue Sep 5 12:02:01 2017 +0900

    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;

-- 


Reply via email to