diff options
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -299,7 +299,6 @@ int open_socket_out(char *host, int port, const char *bind_addr, } break; } - freeaddrinfo(res0); if (s < 0) { char buf[2048]; @@ -313,6 +312,7 @@ int open_socket_out(char *host, int port, const char *bind_addr, s = -1; } + freeaddrinfo(res0); free(errnos); return s; |