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.
1 file changed
tree: a9a386df24f4c2b921476f5109f4df0ef9d4edf8
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. rrlp-ephemeris/
  5. wireshark/