[gnet-devel] gnet_unix_socket_new file descriptor leak?
- From: JF <j2fong gmail com>
- To: gnet-devel-list gnome org
- Subject: [gnet-devel] gnet_unix_socket_new file descriptor leak?
- Date: Wed, 28 Mar 2007 12:01:22 -0700
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]