From 529c5cb57829af2133bb875b374bcff414143fce Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 13 Apr 2021 14:59:14 +0000 Subject: [PATCH] vfs: Remove a call to TALLOC_ZERO() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/modules/vfs_catia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index 2106ca5e8ab..7cb9a8a1433 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -75,7 +75,7 @@ static struct share_mapping_entry *add_srt(int snum, const char **mappings) { struct share_mapping_entry *sme = NULL; - sme = TALLOC_ZERO(NULL, sizeof(struct share_mapping_entry)); + sme = talloc_zero(NULL, struct share_mapping_entry); if (sme == NULL) return sme; -- 2.47.3