mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Create a correct talloc hierarchy in make_sec_acl()
This commit is contained in:
parent
74046c8054
commit
72da71acf9
@ -51,7 +51,7 @@ struct security_acl *make_sec_acl(TALLOC_CTX *ctx,
|
||||
positive number. */
|
||||
|
||||
if ((num_aces) &&
|
||||
((dst->aces = talloc_array(ctx, struct security_ace, num_aces))
|
||||
((dst->aces = talloc_array(dst, struct security_ace, num_aces))
|
||||
== NULL)) {
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user