diff options
author | Volker Lendecke <vl@samba.org> | 2011-05-14 13:15:19 +0200 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-05-14 14:19:00 +0200 |
commit | f1cdce6c135574bd0552f1e368c9b47daf633c73 (patch) | |
tree | 1df8d99878309a7a7cff222aa7462af76845fa37 | |
parent | 46168e99f7c6116b96335635ad974c7d8e20948e (diff) | |
download | samba-f1cdce6c135574bd0552f1e368c9b47daf633c73.tar.gz samba-f1cdce6c135574bd0552f1e368c9b47daf633c73.tar.bz2 samba-f1cdce6c135574bd0552f1e368c9b47daf633c73.zip |
s3: Paranoia in smbsock_connect_state_destructor
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat May 14 14:19:01 CEST 2011 on sn-devel-104
-rw-r--r-- | source3/libsmb/smbsock_connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/smbsock_connect.c b/source3/libsmb/smbsock_connect.c index df2dbade1d..88b4533bad 100644 --- a/source3/libsmb/smbsock_connect.c +++ b/source3/libsmb/smbsock_connect.c @@ -271,6 +271,7 @@ static int smbsock_connect_state_destructor( { if (state->sock != -1) { close(state->sock); + state->sock = -1; } return 0; } |