hermet pushed a commit to branch master.

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

commit ac75934d06541fc82ddd241b2d5f42763b6298f4
Author: Hermet Park <hermetp...@gmail.com>
Date:   Wed Jul 24 14:28:00 2019 +0900

    textpath: + null handling.
---
 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 aa89865a42..ee16a2f4df 100644
--- a/src/lib/elementary/efl_ui_textpath.c
+++ b/src/lib/elementary/efl_ui_textpath.c
@@ -971,6 +971,7 @@ elm_textpath_circle_set(Eo *obj, double x, double y, double 
radius, double start
    double sweep_length;
 
    EFL_UI_TEXTPATH_DATA_GET(obj, pd);
+   if (!pd) return;
 
    if (pd->circle.x == x && pd->circle.y == y &&
        pd->circle.radius == radius &&

-- 


Reply via email to