1
0
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:
Volker Lendecke 2009-07-14 18:34:07 +02:00
parent 74046c8054
commit 72da71acf9

View File

@ -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;
}