bu5hm4n pushed a commit to branch master.

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

commit ecfe4fd2895fb46481b27ad46f68ecb2c93c98dd
Author: Marcel Hollerbach <marcel-hollerb...@t-online.de>
Date:   Tue Jan 10 20:43:50 2017 +0100

    luncher: free the timers
    
    otherwise the timeout can kick in when the icon is already destroyed.
    
    fixes T5033
---
 src/modules/luncher/bar.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index c4aa92ac..80ccd57 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -206,6 +206,8 @@ _bar_icon_del(Instance *inst, Icon *ic)
    if (ic->exec)
      e_exec_instance_watcher_del(ic->exec, _bar_instance_watch, ic);
    ic->exec = NULL;
+   E_FREE_FUNC(ic->mouse_in_timer, ecore_timer_del);
+   E_FREE_FUNC(ic->mouse_out_timer, ecore_timer_del);
    E_FREE(ic);
 }
 

-- 


Reply via email to