Fix defects detected by static analysis tool 16/219816/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 10 Dec 2019 08:02:41 +0000 (17:02 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Tue, 10 Dec 2019 08:02:41 +0000 (17:02 +0900)
Change-Id: I4a982d68410ff161cda2ec13dec0de90f5252fb5

src/e_mod_input_panel.c

index c64bbfb..9fb9717 100644 (file)
@@ -1441,7 +1441,7 @@ e_input_panel_wait_update_set(Eina_Bool wait_update)
 
         EINA_LIST_FOREACH(g_input_panel->surfaces, l, ips)
           {
-             if (!ips->ec) continue;
+             if (!ips || !ips->ec) continue;
              _ips_client_frame_flush(ips);
           }