lib/util: consolidate module loading
[kai/samba-autobuild/.git] / source4 / torture / smbtorture.c
index 81ae11253c938d55b685cc5771523df33016a4ab..934e0a7b2fa4b06d5cd84d1f3c6f35cd967db83b 100644 (file)
@@ -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));