From d9746f2f1556b417d8254a1c6e3ef68ff0b94d89 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Sun, 12 Dec 2010 20:38:27 +0000 Subject: [PATCH] forgot a null check git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@55522 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_ipc/ecore_ipc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/ecore_ipc/ecore_ipc.c b/src/lib/ecore_ipc/ecore_ipc.c index 8a69b10..2f11e55 100644 --- a/src/lib/ecore_ipc/ecore_ipc.c +++ b/src/lib/ecore_ipc/ecore_ipc.c @@ -1196,7 +1196,9 @@ _ecore_ipc_event_client_data(void *data __UNUSED__, int ev_type __UNUSED__, void e = ev; svr = ecore_con_client_server_get(e->client); + if (!svr) return ECORE_CALLBACK_RENEW; cl = ecore_con_server_data_get(svr); + if (!cl) return ECORE_CALLBACK_RENEW; if (!eina_list_data_find(servers, cl)) return ECORE_CALLBACK_RENEW; /* handling code here */ { -- 2.7.4