diff options
-rw-r--r-- | source3/libsmb/async_smb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c index 0aaeea2827..b04c274b9d 100644 --- a/source3/libsmb/async_smb.c +++ b/source3/libsmb/async_smb.c @@ -702,6 +702,8 @@ static void cli_smb_received(struct tevent_req *subreq) DEBUG(10, ("cli_check_sign_mac failed\n")); TALLOC_FREE(inbuf); status = NT_STATUS_ACCESS_DENIED; + close(cli->fd); + cli->fd = -1; goto fail; } |