Check validation of client info for transient 13/198913/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 31 Jan 2019 04:50:37 +0000 (13:50 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 31 Jan 2019 04:50:37 +0000 (13:50 +0900)
Change-Id: I8fe4c097151759dee10ea1e8f7d91cb376ef47b9
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/e_mod_input_panel.c

index 011cafa..5e3b90b 100644 (file)
@@ -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)
                {