1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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
This commit is contained in:
Jeremy Allison 2017-05-11 16:15:56 -07:00 committed by Ralph Boehme
parent dd8008250b
commit 5098636c78

View 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);