derekf pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=ce34c550e7ad8926ec87b89baf5a219b8856aab7

commit ce34c550e7ad8926ec87b89baf5a219b8856aab7
Author: Derek Foreman <[email protected]>
Date:   Wed Nov 30 14:42:01 2016 -0600

    Fix crash when exiting an xdg shell application
    
    The focus in timer has been firing for deleted clients, this causes a
    NULL pointer dereference.
    
    Then again, maybe the timer should've been disabled by now...
---
 src/bin/e_comp_wl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index e1691ce..7d8ae24 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -600,6 +600,8 @@ _e_comp_wl_evas_cb_focus_in_timer(E_Client *ec)
    Eina_List *l;
    double t;
 
+   if (e_object_is_del(E_OBJECT(ec))) return EINA_FALSE;
+
    ec->comp_data->on_focus_timer = NULL;
 
    if (!e_comp_wl->kbd.focused) return EINA_FALSE;

-- 


Reply via email to