summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eriksson <pen@lysator.liu.se>2021-02-23 12:13:37 -0800
committerKarolin Seeger <kseeger@samba.org>2021-03-03 11:11:28 +0000
commit1c37606163ee964584e946e36a1d1c8efb1606e3 (patch)
treea326d6c90343b26d410832d8aa498b95f66b0278
parentbebe69c35256bbd2a2e7e038d137c21930e88acf (diff)
downloadsamba-1c37606163ee964584e946e36a1d1c8efb1606e3.tar.gz
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 <pen@lysator.liu.se> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: David Mulder <dmulder@samba.org> Autobuild-User(master): David Mulder <dmulder@samba.org> 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 <kseeger@samba.org> Autobuild-Date(v4-12-test): Wed Mar 3 11:11:28 UTC 2021 on sn-devel-184
-rw-r--r--source3/modules/nfs4_acls.c1
1 files changed, 1 insertions, 0 deletions
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;
}