From c2a7e4cf6f2c73a2589c49fe74832940a4fcd386 Mon Sep 17 00:00:00 2001 From: Peter Eriksson Date: Tue, 23 Feb 2021 12:13:37 -0800 Subject: [PATCH] s3: VFS: nfs4_acls. Add missing TALLOC_FREE(frame) in error path. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14648 Signed-off-by: Peter Eriksson Reviewed-by: Jeremy Allison Reviewed-by: David Mulder Autobuild-User(master): David Mulder Autobuild-Date(master): Thu Feb 25 20:46:02 UTC 2021 on sn-devel-184 (cherry picked from commit 3d91fe071a29e2e0c54a10ba081a46cb5c324585) --- source3/modules/nfs4_acls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index 7f32e681694..c7808037a09 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -997,6 +997,7 @@ NTSTATUS smb_set_nt_acl_nfs4(vfs_handle_struct *handle, files_struct *fsp, } if (security_descriptor_with_ms_nfs(psd)) { + TALLOC_FREE(frame); return NT_STATUS_OK; } -- 2.27.0