git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17ba76b
)
vfs: Replace a call to TALLOC_ZERO()
author
Volker Lendecke
<vl@samba.org>
Tue, 13 Apr 2021 14:57:26 +0000
(14:57 +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/smbd/vfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/vfs.c
b/source3/smbd/vfs.c
index b0f65e19df19e378b36be5a44496d2c302ef0e82..d081a8935bf13992d84206b59f03e111bc3bd53d 100644
(file)
--- a/
source3/smbd/vfs.c
+++ b/
source3/smbd/vfs.c
@@
-238,7
+238,7
@@
void *vfs_add_fsp_extension_notype(vfs_handle_struct *handle,
return ext_data;
}
- ext =
(struct vfs_fsp_data *)TALLOC_ZERO
(
+ ext =
talloc_zero_size
(
handle->conn, sizeof(struct vfs_fsp_data) + ext_size);
if (ext == NULL) {
return NULL;