summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@sernet.de>2008-01-30 10:34:57 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-19 07:05:21 +0100
commit996790719066d92f563bf53fe4222d2b5e3863a5 (patch)
tree6c679b901d826c2b0894b8a4df141f2ea0fd3bc0 /source4/libcli
parent9d4f766ae35176b0597dd359d692e4166c2314fc (diff)
downloadsamba-996790719066d92f563bf53fe4222d2b5e3863a5.tar.gz
samba-996790719066d92f563bf53fe4222d2b5e3863a5.tar.bz2
samba-996790719066d92f563bf53fe4222d2b5e3863a5.zip
util_str: setup the correct talloc name for strings
metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/rawfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c
index 8cabac6d04..63de051b33 100644
--- a/source4/libcli/raw/rawfile.c
+++ b/source4/libcli/raw/rawfile.c
@@ -71,6 +71,8 @@ char *attrib_string(TALLOC_CTX *mem_ctx, uint32_t attrib)
ret[len] = 0;
+ talloc_set_name_const(ret, ret);
+
return ret;
}