From: Volker Lendecke Date: Thu, 27 Jun 2024 14:46:16 +0000 (+0200) Subject: smbd: Don't talloc_zero where we assign the struct a line below X-Git-Tag: tdb-1.4.11~186 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8292481bc06f0a6a905e1cd98f24269cf40161b2;p=thirdparty%2Fsamba.git smbd: Don't talloc_zero where we assign the struct a line below Signed-off-by: Volker Lendecke Reviewed-by: Andreas Schneider Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Thu Jul 4 16:31:39 UTC 2024 on atb-devel-224 --- diff --git a/source3/smbd/files.c b/source3/smbd/files.c index 0ab8aa80f20..d7062cd2016 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -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; }