summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-20 20:23:06 +0000
committerJeremy Allison <jra@samba.org>2002-12-20 20:23:06 +0000
commit7f23546730e49569d41a5edd0c47bb559c4f812d (patch)
tree7d7d2229881b2e9f05130a07c6cb2dd912c89098 /source3/param
parent45a6532727888c710d537c6e1e03466af2a87881 (diff)
downloadsamba-7f23546730e49569d41a5edd0c47bb559c4f812d.tar.gz
samba-7f23546730e49569d41a5edd0c47bb559c4f812d.tar.bz2
samba-7f23546730e49569d41a5edd0c47bb559c4f812d.zip
Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them. Jeremy. (This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 009a94ff7f..02f120b534 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1478,7 +1478,7 @@ static char *lp_string(const char *s)
#endif
if (!lp_talloc)
- lp_talloc = talloc_init_named("lp_talloc");
+ lp_talloc = talloc_init("lp_talloc");
ret = (char *)talloc(lp_talloc, len + 100); /* leave room for substitution */