summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-14 18:34:07 +0200
committerVolker Lendecke <vl@samba.org>2009-07-14 20:49:06 +0200
commit72da71acf925ffe4cc87ca2bcba3770af3fe3d8b (patch)
treee655057ac2c1e6fc7bb2724bb5faf5ae96380baf /libcli
parent74046c8054d2afe7da51c1ff09ffd594a9cb8b73 (diff)
downloadsamba-72da71acf925ffe4cc87ca2bcba3770af3fe3d8b.tar.gz
samba-72da71acf925ffe4cc87ca2bcba3770af3fe3d8b.tar.bz2
samba-72da71acf925ffe4cc87ca2bcba3770af3fe3d8b.zip
Create a correct talloc hierarchy in make_sec_acl()
Diffstat (limited to 'libcli')
-rw-r--r--libcli/security/secacl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/security/secacl.c b/libcli/security/secacl.c
index 9373ef5812..29afe460b1 100644
--- a/libcli/security/secacl.c
+++ b/libcli/security/secacl.c
@@ -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;
}