diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-02-19 13:07:05 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-02-19 13:07:05 +0100 |
commit | 4d2d95b35addba99a7927041554d50ed7452fd7c (patch) | |
tree | a9a386df24f4c2b921476f5109f4df0ef9d4edf8 /openbsc/src/vty_interface.c | |
parent | 1fdbf40e8a7ca777ea6ca5c4dd70584a3fc75ed3 (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.
Diffstat (limited to 'openbsc/src/vty_interface.c')
0 files changed, 0 insertions, 0 deletions