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:
parent
dd8008250b
commit
5098636c78
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user