From 86c1c3969d6f333385df3b22361b53422c742fef Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 24 Jul 2019 14:28:00 +0900 Subject: [PATCH] textpath: + null handling. Change-Id: I8963a33752fca6e2d045783cac2ed5231276e43d --- 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 aa89865..ee16a2f 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 && -- 2.7.4