s3:smbd:vfs_acl: fix a PANIC when setting an ACL fails with ACCESS_DENIED
authorMichael Adam <obnox@samba.org>
Tue, 4 Dec 2012 01:02:07 +0000 (02:02 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 4 Dec 2012 12:34:23 +0000 (13:34 +0100)
commit1496a75c35f25fa3c4817793ac8737f4327c5dba
tree9b16c66339b520665670cb1324ab1127e1cd6cfa
parent59ae4ddf9eee27e1ccf6b88c24442feda21f796b
s3:smbd:vfs_acl: fix a PANIC when setting an ACL fails with ACCESS_DENIED

Omission to free the talloc frame causes a panic (at least in developer mode)
in the next main event loop due to "Frame not freed in order."
(Freed frame ../source3/smbd/process.c:3617, expected ../source3/modules/vfs_acl_common.c:534.)

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Dec  4 09:03:25 CET 2012 on sn-devel-104
(cherry picked from commit 4a8028a96e20f140c2d423efd4c010a7d300ca72)

Fix bug #9456 - developer-build: panic when acl_xattr fails with access denied.

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Tue Dec  4 13:34:24 CET 2012 on sn-devel-104
source3/modules/vfs_acl_common.c