avoid segv

SVN revision: 55118
This commit is contained in:
Mike Blumenkrantz 2010-12-01 10:33:07 +00:00
parent 0fdba352ba
commit b26182d35b
1 changed files with 1 additions and 1 deletions

View File

@ -1770,7 +1770,7 @@ _ecore_con_svr_tcp_handler(void *data,
error:
close(new_fd);
if (cl->fd_handler)
if (cl && cl->fd_handler)
ecore_main_fd_handler_del(cl->fd_handler);
return ECORE_CALLBACK_RENEW;
}