1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

lib: Remove a talloc_stackframe()

This made sense before we used dom_sid_str_buf() in the DEBUG
statements.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2023-03-03 18:55:38 +01:00 committed by Jeremy Allison
parent 35976fc2ff
commit 8faccb6e19

View File

@ -450,8 +450,6 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx,
unsigned int new_ace_list_ndx = 0, i;
bool set_inherited_flags = (parent_ctr->type & SEC_DESC_DACL_AUTO_INHERITED);
TALLOC_CTX *frame;
*ppsd = NULL;
*psize = 0;
@ -474,8 +472,6 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx,
new_ace_list = NULL;
}
frame = talloc_stackframe();
for (i = 0; i < the_acl->num_aces; i++) {
const struct security_ace *ace = &the_acl->aces[i];
struct security_ace *new_ace = &new_ace_list[new_ace_list_ndx];
@ -565,8 +561,6 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx,
new_ace_list_ndx++;
}
talloc_free(frame);
/*
* remove duplicates
*/