diff options
Diffstat (limited to 'xs_socket.h')
| -rw-r--r-- | xs_socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xs_socket.h b/xs_socket.h index 6e618ba..7bf5298 100644 --- a/xs_socket.h +++ b/xs_socket.h | |||
| @@ -85,6 +85,8 @@ int xs_socket_server(const char *addr, const char *serv) | |||
| 85 | listen(rs, SOMAXCONN); | 85 | listen(rs, SOMAXCONN); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | freeaddrinfo(res); | ||
| 89 | |||
| 88 | #else /* WITHOUT_GETADDRINFO */ | 90 | #else /* WITHOUT_GETADDRINFO */ |
| 89 | struct sockaddr_in host; | 91 | struct sockaddr_in host; |
| 90 | 92 | ||