diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-08-27 10:08:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:48 -0500 |
commit | 7917a26fabb7835017a6c3a2780c8425a4a92ffa (patch) | |
tree | 32e273119af6f9446ee64bb2ebb5ddd38ddc980a | |
parent | 9ba16109e50ca9e411c62dbdfd7a0ed44591d2be (diff) | |
download | samba-7917a26fabb7835017a6c3a2780c8425a4a92ffa.tar.gz samba-7917a26fabb7835017a6c3a2780c8425a4a92ffa.tar.bz2 samba-7917a26fabb7835017a6c3a2780c8425a4a92ffa.zip |
r17848: Ok, this did not do it. Still got the same problem.
(This used to be commit bb393603707ada3d4b917f8374b7738f16c78f46)
-rw-r--r-- | source4/libcli/security/dom_sid.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source4/libcli/security/dom_sid.c b/source4/libcli/security/dom_sid.c index 90421104a7..54242eb515 100644 --- a/source4/libcli/security/dom_sid.c +++ b/source4/libcli/security/dom_sid.c @@ -285,14 +285,7 @@ char *dom_sid_string(TALLOC_CTX *mem_ctx, const struct dom_sid *sid) (unsigned int)sid->sid_rev_num, (unsigned long)ia); for (i = 0; i < sid->num_auths; i++) { - char *tmp = talloc_asprintf(mem_ctx, "%lu", - (unsigned long)sid->sub_auths[i]); - if (tmp == NULL) { - talloc_free(ret); - return NULL; - } - ofs += snprintf(ret + ofs, maxlen - ofs, "-%s", tmp); - talloc_free(tmp); + ofs += snprintf(ret + ofs, maxlen - ofs, "-%lu", (unsigned long)sid->sub_auths[i]); } return ret; |