summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-04-04 06:11:22 +0000
committerTim Potter <tpot@samba.org>2002-04-04 06:11:22 +0000
commitabc62df25f311ceb20772231a071c21edb30f96d (patch)
treef2aece1a8a92a2c327a9bde8aece31d7b56412d8
parent3d3ec9f4fdddfad8432cdd77fb4a30ad49552397 (diff)
downloadsamba-abc62df25f311ceb20772231a071c21edb30f96d.tar.gz
samba-abc62df25f311ceb20772231a071c21edb30f96d.tar.bz2
samba-abc62df25f311ceb20772231a071c21edb30f96d.zip
oops
(This used to be commit 6b20a809020821276b0330810317a4d10c9fdb5a)
-rw-r--r--source3/libsmb/cli_lsarpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cli_lsarpc.c b/source3/libsmb/cli_lsarpc.c
index 014dc7ae31..832758df4f 100644
--- a/source3/libsmb/cli_lsarpc.c
+++ b/source3/libsmb/cli_lsarpc.c
@@ -607,7 +607,7 @@ NTSTATUS cli_lsa_enum_trust_dom(struct cli_state *cli, TALLOC_CTX *mem_ctx,
unistr2_to_ascii(tmp, &r.uni_domain_name[i],
sizeof(tmp) - 1);
- (*domain_names)[i] = talloc_strdup(tmp);
+ (*domain_names)[i] = talloc_strdup(mem_ctx, tmp);
sid_copy(&(*domain_sids)[i], &r.domain_sid[i].sid);
}
}