diff options
author | Thiep Ha <thiepha@gmail.com> | 2017-09-05 12:02:01 +0900 |
---|---|---|
committer | Thiep Ha <thiepha@gmail.com> | 2017-09-05 12:02:01 +0900 |
commit | 967e94dc6b76eac5002e662042760a0d6f76f8ef (patch) | |
tree | 2e0974e31c6acb39f4673e51848f2eeb70ca404f | |
parent | b55cb4feb1c35a0a6b31ac1ccbadc76432f581bc (diff) | |
download | efl-967e94dc6b76eac5002e662042760a0d6f76f8ef.tar.gz |
textpath: do not process line if failed to allocate segment
-rw-r--r-- | src/lib/elementary/efl_ui_textpath.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |