* ecore_con: Reduce risk of segv.

SVN revision: 42934
This commit is contained in:
Cedric BAIL 2009-10-07 11:59:26 +00:00
parent 45b12f7ad5
commit 380cc70ccc
1 changed files with 2 additions and 1 deletions

View File

@ -787,7 +787,8 @@ ecore_con_client_del(Ecore_Con_Client *cl)
}
else
{
cl->server->clients = eina_list_remove(cl->server->clients, cl);
if (cl->server)
cl->server->clients = eina_list_remove(cl->server->clients, cl);
_ecore_con_client_free(cl);
}
return data;