From b92ac696efbab67f7abaedf477810bcc66e66ff3 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Mon, 16 Dec 2019 16:32:51 +0900 Subject: [PATCH] Fix defects detected by static analysis tool Change-Id: Ia89e31faaaa995493715b0fb37db08f4048bdebb --- src/e_mod_input_panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/e_mod_input_panel.c b/src/e_mod_input_panel.c index 9fb9717..7805637 100644 --- a/src/e_mod_input_panel.c +++ b/src/e_mod_input_panel.c @@ -1412,7 +1412,7 @@ _ip_cb_e_buf_change(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *event EINA_LIST_FOREACH(g_input_panel->surfaces, l, ips) { - if (ips->ec != ev->ec) continue; + if (!ips || ips->ec != ev->ec) continue; _ips_client_frame_flush(ips); } -- 2.7.4