The branch, master has been updated via 1e79ff444e1 s3: smbd: Add missing lock free and file close in error path. from e14fc159a2f librpc: Simplify find_interface_by_binding()
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 1e79ff444e159dbbb61accf6aa0d6e2393673131 Author: Jeremy Allison <j...@samba.org> Date: Fri Jan 29 11:38:07 2021 -0800 s3: smbd: Add missing lock free and file close in error path. Signed-off-by: Jeremy Allison <j...@samba.org> Reviewed-by: Andreas Schneider <a...@samba.org> Autobuild-User(master): Jeremy Allison <j...@samba.org> Autobuild-Date(master): Mon Feb 1 18:38:23 UTC 2021 on sn-devel-184 ----------------------------------------------------------------------- Summary of changes: source3/smbd/open.c | 2 ++ 1 file changed, 2 insertions(+) Changeset truncated at 500 lines: diff --git a/source3/smbd/open.c b/source3/smbd/open.c index faf1c67a5ea..721a48f3b5a 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -4035,6 +4035,8 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, nt_errstr(status)); } } + TALLOC_FREE(lck); + fd_close(fsp); return NT_STATUS_NO_MEMORY; } -- Samba Shared Repository