summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-10-20 17:37:08 +0200
committerVolker Lendecke <vl@samba.org>2013-10-21 08:55:31 +0000
commitb58df3d2bc2599c4ad359f72810395d00bdcd518 (patch)
tree6e12702e23466ae0ed5adb70ffdc7ecc0f634891 /source3
parent28cdd1c46fec1bffa380c7be6122fb7ee05a9359 (diff)
downloadsamba-b58df3d2bc2599c4ad359f72810395d00bdcd518.tar.gz
samba-b58df3d2bc2599c4ad359f72810395d00bdcd518.tar.bz2
samba-b58df3d2bc2599c4ad359f72810395d00bdcd518.zip
lsasd: Fix CID 1107233 Double close
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/lsasd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/rpc_server/lsasd.c b/source3/rpc_server/lsasd.c
index 8d2245abb5..0a7e4ff312 100644
--- a/source3/rpc_server/lsasd.c
+++ b/source3/rpc_server/lsasd.c
@@ -808,7 +808,6 @@ static bool lsasd_create_sockets(struct tevent_context *ev_ctx,
if (rc == -1) {
DEBUG(0, ("Failed to listen on netlogon ncalrpc - %s\n",
strerror(errno)));
- close(fd);
ok = false;
goto done;
}