when this moved to ecore_lists... someone forgot that accessing a struct

after u free is is BAD... :)


SVN revision: 15931
This commit is contained in:
Carsten Haitzler 2005-07-28 12:44:28 +00:00
parent 25ee18e1ed
commit 7c1ced7036
1 changed files with 2 additions and 1 deletions

View File

@ -732,8 +732,9 @@ ecore_con_client_del(Ecore_Con_Client *cl)
return NULL;
}
data = cl->data;
if (ecore_list_goto(cl->server->clients, cl))
ecore_list_remove(cl->server->clients);
_ecore_con_client_free(cl);
if (ecore_list_goto(cl->server->clients, cl)) ecore_list_remove(cl->server->clients);
return data;
}