s4: nmblookup: Allocate event context off NULL instead of talloc_autofree_context().
[kai/samba-autobuild/.git] / libcli / nbt / tools / nmblookup.c
index afb81c745cd1cd51f9e036a0f35a558161c8412a..e5fa57366e6e052a766a4af26b86492f32060ff2 100644 (file)
@@ -372,7 +372,7 @@ int main(int argc, const char *argv[])
 
        load_interface_list(NULL, cmdline_lp_ctx, &ifaces);
 
-       ev = s4_event_context_init(talloc_autofree_context());
+       ev = s4_event_context_init(NULL);
 
        while (poptPeekArg(pc)) {
                const char *name = poptGetArg(pc);