diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-08-23 09:29:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:24 -0500 |
commit | aaa0aff2d6cea65b07320790c16fff127c12a65b (patch) | |
tree | b62a2ed119b757e2929c493dc23d9b7b2657ab45 /source4/libcli/security | |
parent | 54a703d433cc586504bbdf445a03e3c3e0b4fe50 (diff) | |
download | samba-aaa0aff2d6cea65b07320790c16fff127c12a65b.tar.gz samba-aaa0aff2d6cea65b07320790c16fff127c12a65b.tar.bz2 samba-aaa0aff2d6cea65b07320790c16fff127c12a65b.zip |
r9510: fix the memory tree
metze
(This used to be commit 6d412cf0a4186ec04cee61dd5387903de051fde7)
Diffstat (limited to 'source4/libcli/security')
-rw-r--r-- | source4/libcli/security/dom_sid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/security/dom_sid.c b/source4/libcli/security/dom_sid.c index f457900efc..c19959f8ae 100644 --- a/source4/libcli/security/dom_sid.c +++ b/source4/libcli/security/dom_sid.c @@ -122,7 +122,7 @@ struct dom_sid *dom_sid_parse_talloc(TALLOC_CTX *mem_ctx, const char *sidstr) return NULL; } - ret->sub_auths = talloc_array(mem_ctx, uint32_t, num_sub_auths); + ret->sub_auths = talloc_array(ret, uint32_t, num_sub_auths); if (!ret->sub_auths) { return NULL; } |