diff options
author | Volker Lendecke <vl@samba.org> | 2009-05-28 11:18:22 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-05-28 11:33:21 +0200 |
commit | 0dbecbbee5018108131869b13db649a058f4359d (patch) | |
tree | e49b14064ea1f1e27b55f65a9c32ab6a70151fd6 /source3/lib/util_uuid.c | |
parent | 01ea4249da246b0b99a4b89eb36aa6b1c0d46994 (diff) | |
download | samba-0dbecbbee5018108131869b13db649a058f4359d.tar.gz samba-0dbecbbee5018108131869b13db649a058f4359d.tar.bz2 samba-0dbecbbee5018108131869b13db649a058f4359d.zip |
Make sid_binstring & friends take a talloc context
Diffstat (limited to 'source3/lib/util_uuid.c')
-rw-r--r-- | source3/lib/util_uuid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_uuid.c b/source3/lib/util_uuid.c index c681b66d34..656ba2a57c 100644 --- a/source3/lib/util_uuid.c +++ b/source3/lib/util_uuid.c @@ -43,11 +43,11 @@ void smb_uuid_unpack(const UUID_FLAT in, struct GUID *uu) Caller must free. *****************************************************************/ -char *guid_binstring(const struct GUID *guid) +char *guid_binstring(TALLOC_CTX *mem_ctx, const struct GUID *guid) { UUID_FLAT guid_flat; smb_uuid_pack(*guid, &guid_flat); - return binary_string_rfc2254((char *)guid_flat.info, UUID_FLAT_SIZE); + return binary_string_rfc2254(mem_ctx, guid_flat.info, UUID_FLAT_SIZE); } |