[gnet-devel] gnet_unix_socket_new file descriptor leak?



Hi,

I am currently looking at gnet_unix_socket_new for version 2.0.7.  In
this function, if connect fails, should the socket (s->sockfd) be
closed?  Otherwise, the socket created will not be closed.

J



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]