From: Volker Lendecke Date: Tue, 13 Apr 2021 14:59:14 +0000 (+0000) Subject: vfs: Remove a call to TALLOC_ZERO() X-Git-Tag: tevent-0.11.0~1096 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=529c5cb57829af2133bb875b374bcff414143fce;p=thirdparty%2Fsamba.git vfs: Remove a call to TALLOC_ZERO() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- 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;