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

index 9afcdc7d9344b733ae53104f7601238c9734d7c4..30aedb86383ab5ca552f794fe12691b8c3c2fc25 100644 (file)
@@ -1177,10 +1177,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)
                {