mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
ctdb: Fix CID 1324447 Double close
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Tue Sep 15 16:20:07 CEST 2015 on sn-devel-104
This commit is contained in:
parent
3ddd35142a
commit
f54b2f7758
@ -340,6 +340,7 @@ static int ctdb_tcp_listen_automatic(struct ctdb_context *ctdb)
|
||||
}
|
||||
|
||||
close(ctcp->listen_fd);
|
||||
ctcp->listen_fd = -1;
|
||||
}
|
||||
|
||||
if (i == ctdb->num_nodes) {
|
||||
|
Loading…
Reference in New Issue
Block a user