diff options
Diffstat (limited to 'src/common/socket.c')
-rw-r--r-- | src/common/socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/socket.c b/src/common/socket.c index c0864c9b3..2ab37109c 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -1319,6 +1319,7 @@ int socket_getips(uint32* ips, int max) if( sIoctl(fd, SIOCGIFCONF, &ic) == -1 ) { ShowError("socket_getips: SIOCGIFCONF failed!\n"); + sClose(fd); return 0; } else |