From: Volker Lendecke Date: Fri, 29 Aug 2025 13:57:39 +0000 (+0200) Subject: vfs: Do an early TALLOC_FREE in streams_xattr_openat() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5402a750403a768e320bcf2286d68f8619df1646;p=thirdparty%2Fsamba.git vfs: Do an early TALLOC_FREE in streams_xattr_openat() Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c index 7ac67d3fb98..2e070ce4e7b 100644 --- a/source3/modules/vfs_streams_xattr.c +++ b/source3/modules/vfs_streams_xattr.c @@ -458,6 +458,8 @@ static int streams_xattr_openat(struct vfs_handle_struct *handle, set_empty_xattr = true; } + TALLOC_FREE(ea.value.data); + if (how->flags & O_TRUNC) { set_empty_xattr = true; }