Fixed the crash issue when the input_panel_unbind() is called after deleting E_Client 03/132303/1
authorInHong Han <inhong1.han@samsung.com>
Fri, 2 Jun 2017 07:04:44 +0000 (16:04 +0900)
committerInHong Han <inhong1.han@samsung.com>
Fri, 2 Jun 2017 07:05:34 +0000 (16:05 +0900)
Change-Id: Ie8bdb58418f8402663b13c5d48701f1213a75763

src/e_mod_input_panel.c

index 27d8b4e..fd32063 100644 (file)
@@ -600,6 +600,7 @@ _e_input_panel_unbind(struct wl_resource *resource)
         E_Comp_Wl_Client_Data *cdata;
 
         if (!(ec = ips->ec)) continue;
+        if (e_object_is_del(E_OBJECT(ec))) continue;
         if (!(cdata = ec->comp_data)) continue;
 
         cdata->shell.surface = NULL;