From: Suyeon Hwang Date: Thu, 23 Feb 2017 08:33:21 +0000 (+0900) Subject: Add null check X-Git-Tag: submit/tizen/20170405.010045~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f366adffe27825e6b8d9cd8930efb089a0d6b87f;p=platform%2Fcore%2Fuifw%2Fvoice-control-elm.git Add null check Change-Id: I797b00c8c9c3632ffb9876d618b6da586fd74ee1 Signed-off-by: Suyeon Hwang (cherry picked from commit 3d606974ada9a1dac33c299c7918f13b78fc75f2) --- diff --git a/src/vc_elm_core.c b/src/vc_elm_core.c index 26c6f85..0990910 100644 --- a/src/vc_elm_core.c +++ b/src/vc_elm_core.c @@ -290,7 +290,7 @@ static Eina_Bool _vc_elm_click_matched_object(const char* cmd, int click_method) } } - if (false == clicked) { + if (false == clicked && NULL != parent_info) { parent_info = ea_object_dump_parent_widget_data_get(parent_info); while (NULL != parent_info) { if (EINA_TRUE == parent_info->focusable) {