From: Peter Eriksson Date: Tue, 23 Feb 2021 20:13:37 +0000 (-0800) Subject: s3: VFS: nfs4_acls. Add missing TALLOC_FREE(frame) in error path. X-Git-Tag: samba-4.12.12~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c37606163ee964584e946e36a1d1c8efb1606e3;p=thirdparty%2Fsamba.git 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) Autobuild-User(v4-12-test): Karolin Seeger Autobuild-Date(v4-12-test): Wed Mar 3 11:11:28 UTC 2021 on sn-devel-184 --- 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; }