git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d307442
)
vfs: Remove a call to TALLOC_ZERO()
author
Volker Lendecke
<vl@samba.org>
Tue, 13 Apr 2021 14:59:14 +0000
(14:59 +0000)
committer
Jeremy 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
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_catia.c
b/source3/modules/vfs_catia.c
index 2106ca5e8ab4c66a79182ea43393a6ecf4ff30b6..7cb9a8a143314fb264324e73a4f15c1f38a107fb 100644
(file)
--- 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;