mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
TALLOC_FREE(sd) in check_open_rights upon an error
This commit is contained in:
parent
d57e67f9eb
commit
74046c8054
@ -94,6 +94,7 @@ static NTSTATUS check_open_rights(struct connection_struct *conn,
|
||||
"on %s: %s\n",
|
||||
smb_fname_str_dbg(smb_fname),
|
||||
nt_errstr(status)));
|
||||
TALLOC_FREE(sd);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user