commit | 2077ac11ad83e4859e853f8b28c344a7f21ecf9a | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Feb 19 13:07:05 2010 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Feb 19 13:07:05 2010 +0100 |
tree | a9a386df24f4c2b921476f5109f4df0ef9d4edf8 | |
parent | b456f07d5269fcc7de87f7d573970f734df37910 [diff] |
ipaccess.c: Fix some resource leaks in error conditions. * Close the socket when the bind is failing. * Close the socket when the listen is failing. * Close the socket then the bsc_register_fd is failing. * Return an error when the socket call is not returning a socket.