mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
lib: Fix CID 1465285 Double close
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
dcd65e1cb7
commit
d717a581ab
@ -487,6 +487,7 @@ static NTSTATUS push_recursive (struct gp_context *gp_ctx, const char *local_pat
|
||||
strerror(errno));
|
||||
status = NT_STATUS_UNSUCCESSFUL;
|
||||
close(local_fd);
|
||||
local_fd = -1;
|
||||
goto done;
|
||||
}
|
||||
smbcli_write(gp_ctx->cli->tree, remote_fd, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user