From d55f1b0bfc18357f0fd5100158afee2f8f07f18a Mon Sep 17 00:00:00 2001 From: antognolli Date: Thu, 7 Jul 2011 18:18:53 +0000 Subject: [PATCH] ecore/ecore_con - Set timer pointers to NULL when exiting them. Otherwise this will lead to errors when some code does: if (cl->until_deletion) ecore_timer_del(cl->until_deletion); git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61127 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_con/ecore_con.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index 1fc38bf..44e6b2a 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -1463,6 +1463,7 @@ _ecore_con_server_timer(Ecore_Con_Server *svr) { ecore_con_server_del(svr); + svr->until_deletion = NULL; return ECORE_CALLBACK_CANCEL; } @@ -1499,6 +1500,7 @@ _ecore_con_client_timer(Ecore_Con_Client *cl) { ecore_con_client_del(cl); + cl->until_deletion = NULL; return ECORE_CALLBACK_CANCEL; } -- 2.7.4