mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
smbd: Don't talloc_zero where we assign the struct a line below
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Jul 4 16:31:39 UTC 2024 on atb-devel-224
This commit is contained in:
parent
e989d7383e
commit
8292481bc0
@ -742,7 +742,7 @@ NTSTATUS read_symlink_reparse(TALLOC_CTX *mem_ctx,
|
||||
struct symlink_reparse_struct *lnk = NULL;
|
||||
NTSTATUS status;
|
||||
|
||||
reparse = talloc_zero(mem_ctx, struct reparse_data_buffer);
|
||||
reparse = talloc(mem_ctx, struct reparse_data_buffer);
|
||||
if (reparse == NULL) {
|
||||
goto nomem;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user