]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs: Remove a call to TALLOC_ZERO()
authorVolker Lendecke <vl@samba.org>
Tue, 13 Apr 2021 14:59:14 +0000 (14:59 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 19 Apr 2021 18:18:31 +0000 (18:18 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_catia.c

index 2106ca5e8ab4c66a79182ea43393a6ecf4ff30b6..7cb9a8a143314fb264324e73a4f15c1f38a107fb 100644 (file)
@@ -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;