diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index b5e52374d9..e53870bf9c 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -3714,6 +3714,7 @@ connect_again: if (ret < 0) { DEBUG(1,("error connecting to %s:%d (%s)\n", inet_ntoa(*addr),port,strerror(errno))); + close(res); return -1; } |