From f6b7bd4a01205e442d3aa06d8edc3634a12945b2 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 9 Sep 2011 22:41:28 +1000 Subject: lib/util: consolidate module loading Autobuild-User: Andrew Bartlett Autobuild-Date: Thu Oct 6 08:52:30 CEST 2011 on sn-devel-104 --- source4/torture/smbtorture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index 81ae11253c..934e0a7b2f 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -602,7 +602,7 @@ int main(int argc,char *argv[]) } if (extra_module != NULL) { - init_module_fn fn = load_module(talloc_autofree_context(), poptGetOptArg(pc)); + init_module_fn fn = load_module(poptGetOptArg(pc), false, NULL); if (fn == NULL) d_printf("Unable to load module from %s\n", poptGetOptArg(pc)); -- cgit