From e376e492223d4f5ecd22ddeadb7f0ddace4250aa Mon Sep 17 00:00:00 2001 From: Jaeun Choi Date: Wed, 13 Feb 2019 16:15:57 +0900 Subject: [PATCH] edje: add missing NULL check Change-Id: Ia34598789cd1a57678c143fa81e466b5bb8d704c Signed-off-by: JunsuChoi --- src/lib/edje/edje_part_text.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/edje/edje_part_text.c b/src/lib/edje/edje_part_text.c index 6376453..b640bf4 100644 --- a/src/lib/edje/edje_part_text.c +++ b/src/lib/edje/edje_part_text.c @@ -485,6 +485,8 @@ _canvas_layout_user_text_collect(Edje *ed, Edje_User_Defined *eud) Eina_List **props = &eud->u.text_style.props; rp = _edje_real_part_recursive_get(&ed, eud->part); + if (!rp) return; + if (eud->u.text_style.types == EDJE_PART_TEXT_PROP_NONE) return; if (eud->u.text_style.types & EDJE_PART_TEXT_PROP_BACKING_TYPE) -- 2.7.4