From: Volker Lendecke Date: Tue, 13 Apr 2021 14:57:26 +0000 (+0000) Subject: vfs: Replace a call to TALLOC_ZERO() X-Git-Tag: tevent-0.11.0~1097 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d30744265f159afe03ee39c5960ab7825a04b5b4;p=thirdparty%2Fsamba.git vfs: Replace a call to TALLOC_ZERO() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index b0f65e19df1..d081a8935bf 100644 --- 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;