From: <enl...@li...> - 2005-07-28 12:44:36
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore Dir : e17/libs/ecore/src/lib/ecore_con Modified Files: ecore_con.c Log Message: when this moved to ecore_lists... someone forgot that accessing a struct after u free is is BAD... :) =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_con/ecore_con.c,v retrieving revision 1.41 retrieving revision 1.42 diff -u -3 -r1.41 -r1.42 --- ecore_con.c 29 Apr 2005 04:51:31 -0000 1.41 +++ ecore_con.c 28 Jul 2005 12:44:28 -0000 1.42 @@ -732,8 +732,9 @@ 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; } |