summaryrefslogtreecommitdiff
path: root/src/bin/eeze
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-08-05 13:13:19 +0100
committerChris Michael <cp.michael@samsung.com>2013-08-05 13:13:19 +0100
commitb344ef2440c8f5516c5ccc632a63740670fdfde5 (patch)
tree270a7c2173edb04e7e95b11be85262785ce445dd /src/bin/eeze
parenta97f3c0b9bb86eb962e5296f174a0dcb51134350 (diff)
Remove Eet_Connection from hash Before we call eet_connection_close
(as that frees the connection). Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/bin/eeze')
-rw-r--r--src/bin/eeze/eeze_scanner.c2
1 files changed, 1 insertions, 1 deletions
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
151 ec = eina_hash_find(clients, ev->client); 151 ec = eina_hash_find(clients, ev->client);
152 if (ec) 152 if (ec)
153 { 153 {
154 eet_connection_close(ec, &d);
155 eina_hash_del_by_data(clients, ec); 154 eina_hash_del_by_data(clients, ec);
155 eet_connection_close(ec, &d);
156 } 156 }
157 157
158 return ECORE_CALLBACK_RENEW; 158 return ECORE_CALLBACK_RENEW;