From b344ef2440c8f5516c5ccc632a63740670fdfde5 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 5 Aug 2013 13:13:19 +0100 Subject: [PATCH] Remove Eet_Connection from hash Before we call eet_connection_close (as that frees the connection). Signed-off-by: Chris Michael --- src/bin/eeze/eeze_scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/eeze/eeze_scanner.c b/src/bin/eeze/eeze_scanner.c index 800c1d70c2..e384268d08 100644 --- a/src/bin/eeze/eeze_scanner.c +++ b/src/bin/eeze/eeze_scanner.c @@ -151,8 +151,8 @@ cl_del(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Client_Del ec = eina_hash_find(clients, ev->client); if (ec) { - eet_connection_close(ec, &d); eina_hash_del_by_data(clients, ec); + eet_connection_close(ec, &d); } return ECORE_CALLBACK_RENEW;