From: Jeremy Allison Date: Tue, 13 Jul 2021 18:40:09 +0000 (-0700) Subject: s3: VFS: fruit. In ad_get_meta_fsp(), we only need a handle on the base file, not... X-Git-Tag: talloc-2.3.3~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03e36502f450d14656a824b36c33607ff418f0bf;p=thirdparty%2Fsamba.git s3: VFS: fruit. In ad_get_meta_fsp(), we only need a handle on the base file, not the stream. We'll be calling SMB_VFS_FGETXATTR() on the base fsp anyway. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14756 Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index 46614939a06..ce42202b4a3 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -231,6 +231,7 @@ static struct adouble *ad_get_meta_fsp(TALLOC_CTX *ctx, if (smb_fname_cp == NULL) { return NULL; } + TALLOC_FREE(smb_fname_cp->stream_name); config->in_openat_pathref_fsp = true; status = openat_pathref_fsp(handle->conn->cwd_fsp, smb_fname_cp);