diff --git a/src/bin/e_pointer.c b/src/bin/e_pointer.c index d08f8da8b..4c45e6852 100644 --- a/src/bin/e_pointer.c +++ b/src/bin/e_pointer.c @@ -130,6 +130,8 @@ _e_pointer_active_handle(E_Pointer *ptr) { E_FREE_FUNC(ptr->idle_tmr, ecore_timer_del); E_FREE_FUNC(ptr->idle_poll, ecore_poller_del); + ptr->idle_tmr = NULL; + ptr->idle_poll = NULL; if (e_powersave_mode_get() >= E_POWERSAVE_MODE_MEDIUM) return; if (!e_config->idle_cursor) return; ptr->idle_tmr = ecore_timer_loop_add(1.0, _e_pointer_cb_idle_pre, ptr); @@ -345,6 +347,8 @@ _e_pointer_cb_free(E_Pointer *ptr) E_FREE_FUNC(ptr->idle_tmr, ecore_timer_del); E_FREE_FUNC(ptr->idle_poll, ecore_poller_del); + ptr->idle_tmr = NULL; + ptr->idle_poll = NULL; if (!ptr->canvas) _e_pointer_canvas_del(ptr);