From 602e7030ba85240d14cc14f70f8b6635f275bec9 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Thu, 31 Jan 2019 13:50:37 +0900 Subject: [PATCH] Check validation of client info for transient Change-Id: I8fe4c097151759dee10ea1e8f7d91cb376ef47b9 Signed-off-by: Jihoon Kim --- src/e_mod_input_panel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/e_mod_input_panel.c b/src/e_mod_input_panel.c index 011cafa..5e3b90b 100644 --- a/src/e_mod_input_panel.c +++ b/src/e_mod_input_panel.c @@ -1241,10 +1241,13 @@ e_input_panel_transient_for_set(E_Client *parent) E_Client *child = ips->ec; if (!child) continue; + if (e_object_is_del(E_OBJECT(child))) continue; /* If the child already has a parent, remove it */ if (child->parent) { + if (e_object_is_del(E_OBJECT(child->parent))) continue; + LOGD("TRANSIENT_FOR::The child already has a parent : %p\n", child->parent); if (ec_parent != child->parent) { -- 2.7.4