summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-29 18:52:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:56 -0500
commit11f3f0fa6cfb0486bdc526465dc4c0e19467a30f (patch)
tree5afbcf0b284c5af9d158166c2b6b66c3e2700933 /source4/lib
parent615e1c55bfd0b5e5cb2ac77b19a0c395ef566bd2 (diff)
downloadsamba-11f3f0fa6cfb0486bdc526465dc4c0e19467a30f.tar.gz
samba-11f3f0fa6cfb0486bdc526465dc4c0e19467a30f.tar.bz2
samba-11f3f0fa6cfb0486bdc526465dc4c0e19467a30f.zip
r9754: Upgrading with the command line utility now works, at least partially (-:
Upgrading using SWAT should work as well now. (This used to be commit 8baa2ac377315ae8b365f58c2bda0bf3d0c5aec3)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/samba3/secrets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/samba3/secrets.c b/source4/lib/samba3/secrets.c
index 25ab8f5db5..43f0a2ec12 100644
--- a/source4/lib/samba3/secrets.c
+++ b/source4/lib/samba3/secrets.c
@@ -72,7 +72,7 @@ static struct samba3_domainsecrets *secrets_find_domain(TALLOC_CTX *ctx, struct
db->domains = talloc_realloc(ctx, db->domains, struct samba3_domainsecrets, db->domain_count+1);
ZERO_STRUCT(db->domains[db->domain_count]);
- db->domains[db->domain_count].name = talloc_strdup(ctx, key);
+ db->domains[db->domain_count].name = talloc_strdup(db->domains, key);
db->domain_count++;