summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-09-09 22:41:28 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-10-06 08:52:30 +0200
commitf6b7bd4a01205e442d3aa06d8edc3634a12945b2 (patch)
tree3bea8e1a4071f2bfd667012c646484307fd417ae /source4
parent355b5e3a831415d9bef97de4b2d83e353de4ab0f (diff)
downloadsamba-f6b7bd4a01205e442d3aa06d8edc3634a12945b2.tar.gz
samba-f6b7bd4a01205e442d3aa06d8edc3634a12945b2.tar.bz2
samba-f6b7bd4a01205e442d3aa06d8edc3634a12945b2.zip
lib/util: consolidate module loading
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Oct 6 08:52:30 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/smbtorture.c2
1 files changed, 1 insertions, 1 deletions
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));