forked from enlightenment/efl
aha! found the leak and eliminated it!
SVN revision: 55176
This commit is contained in:
parent
aac41d6ff0
commit
55d73aee65
|
@ -1009,10 +1009,6 @@ ecore_con_client_del(Ecore_Con_Client *cl)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (cl->client_addr)
|
||||
free(cl->client_addr);
|
||||
cl->client_addr = NULL;
|
||||
|
||||
data = cl->data;
|
||||
cl->delete_me = EINA_TRUE;
|
||||
if (cl->event_count > 0)
|
||||
|
@ -1261,6 +1257,10 @@ _ecore_con_client_free(Ecore_Con_Client *cl)
|
|||
if (cl->fd_handler)
|
||||
ecore_main_fd_handler_del(cl->fd_handler);
|
||||
|
||||
if (cl->client_addr)
|
||||
free(cl->client_addr);
|
||||
cl->client_addr = NULL;
|
||||
|
||||
if (cl->ip)
|
||||
eina_stringshare_del(cl->ip);
|
||||
cl->data = NULL;
|
||||
|
|
Loading…
Reference in New Issue