diff options
author | Volker Lendecke <vl@samba.org> | 2009-07-14 18:34:07 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-07-14 20:49:06 +0200 |
commit | 72da71acf925ffe4cc87ca2bcba3770af3fe3d8b (patch) | |
tree | e655057ac2c1e6fc7bb2724bb5faf5ae96380baf /libcli | |
parent | 74046c8054d2afe7da51c1ff09ffd594a9cb8b73 (diff) | |
download | samba-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.c | 2 |
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; } |