1
0
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:
Volker Lendecke 2009-07-14 18:33:01 +02:00
parent d57e67f9eb
commit 74046c8054

View File

@ -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;
}