From d1c6f7d937b70e6e1b21163df876cf9c9e974c46 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Tue, 12 Feb 2013 06:49:42 +0000 Subject: [PATCH] don't know if this will help - but try quieten some valgrind complaints... :/ (trying) SVN revision: 83840 --- src/lib/ecore_evas/ecore_evas.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index 800a6ff..daa12ea 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -2458,6 +2458,7 @@ _ecore_evas_free(Ecore_Evas *ee) ee->driver = NULL; if (ee->engine.idle_flush_timer) ecore_timer_del(ee->engine.idle_flush_timer); + ee->engine.idle_flush_timer = NULL; if (ee->engine.func->fn_free) ee->engine.func->fn_free(ee); if (ee->registered) { @@ -2475,11 +2476,10 @@ _ecore_evas_free(Ecore_Evas *ee) static Eina_Bool _ecore_evas_cb_idle_flush(void *data) { - Ecore_Evas *ee; + Ecore_Evas *ee = data; - ee = (Ecore_Evas *)data; - evas_render_idle_flush(ee->evas); ee->engine.idle_flush_timer = NULL; + evas_render_idle_flush(ee->evas); return ECORE_CALLBACK_CANCEL; } -- 2.7.4