mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
s3:smbd/close: remove unused goto out from close_directory()
metze
This commit is contained in:
parent
8751c3f2ef
commit
f66d88d10a
@ -1140,7 +1140,7 @@ static NTSTATUS close_directory(struct smb_request *req, files_struct *fsp,
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(5, ("delete_all_streams failed: %s\n",
|
||||
nt_errstr(status)));
|
||||
goto out;
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1181,8 +1181,6 @@ static NTSTATUS close_directory(struct smb_request *req, files_struct *fsp,
|
||||
close_filestruct(fsp);
|
||||
file_free(req, fsp);
|
||||
|
||||
out:
|
||||
TALLOC_FREE(lck);
|
||||
if (NT_STATUS_IS_OK(status) && !NT_STATUS_IS_OK(status1)) {
|
||||
status = status1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user