diff options
author | Jeremy Allison <jra@samba.org> | 2017-05-11 16:15:56 -0700 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2017-05-13 21:01:25 +0200 |
commit | 5098636c784df917fb038ac4822f7a863d9543de (patch) | |
tree | b1db4e606522d810ba68f9c63091efb4768a6027 /libcli | |
parent | dd8008250b259acdb02d3b067f8a4194dd68c14a (diff) | |
download | samba-5098636c784df917fb038ac4822f7a863d9543de.tar.gz |
s4: nmblookup: Allocate event context off NULL instead of talloc_autofree_context().
It's already correctly freed on exit.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sat May 13 21:01:25 CEST 2017 on sn-devel-144
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/nbt/tools/nmblookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/nbt/tools/nmblookup.c b/libcli/nbt/tools/nmblookup.c index afb81c745cd..e5fa57366e6 100644 --- a/libcli/nbt/tools/nmblookup.c +++ b/libcli/nbt/tools/nmblookup.c @@ -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); |