summaryrefslogtreecommitdiff
path: root/source4/torture/gentest.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-08 23:31:41 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:49 +0100
commita48fdda5fec99649e29760c7a9c91246438c9579 (patch)
treec4e3014514c4f91ff356ca6e7069d288d0554ee1 /source4/torture/gentest.c
parent47554fd72e00911f05c1c16f1af4d06481d32882 (diff)
downloadsamba-a48fdda5fec99649e29760c7a9c91246438c9579.tar.gz
r26339: Make loadparm talloc-allocated.
(This used to be commit 1e02cd8db1d65ff72b747833904a10b47749b1fb)
Diffstat (limited to 'source4/torture/gentest.c')
-rw-r--r--source4/torture/gentest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index edc1b0754ae..c1e33820af0 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -2197,7 +2197,7 @@ static bool split_unc_name(const char *unc, char **server, char **share)
argc -= NSERVERS;
argv += NSERVERS;
- lp_load(dyn_CONFIGFILE, &lp_ctx);
+ lp_load(talloc_autofree_context(), dyn_CONFIGFILE, &lp_ctx);
servers[0].credentials = cli_credentials_init(talloc_autofree_context());
servers[1].credentials = cli_credentials_init(talloc_autofree_context());