git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@36117
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
}
/* PARENT */
cbdata->handler = ecore_event_handler_add(ECORE_EXE_EVENT_DEL, _ecore_con_dns_exit_handler, cbdata);
+ close(fd[1]);
if (!cbdata->handler)
{
ecore_main_fd_handler_del(cbdata->fdh);
free(cbdata);
close(fd[0]);
- close(fd[1]);
return 0;
}
dns_slaves = _ecore_list2_append(dns_slaves, cbdata);
{
dns_slaves = _ecore_list2_remove(dns_slaves, cbdata);
close(ecore_main_fd_handler_fd_get(cbdata->fdh));
- close(cbdata->fd2);
ecore_main_fd_handler_del(cbdata->fdh);
ecore_event_handler_del(cbdata->handler);
free(cbdata);