1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4: client: Allocate event context off struct smbclient_context *, not talloc_autofree_context().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2017-05-11 16:01:59 -07:00 committed by Ralph Boehme
parent 3cfa58de12
commit 1ad4bae262

View File

@ -3415,7 +3415,7 @@ static int do_message_op(const char *netbios_name, const char *desthost,
lpcfg_smbcli_options(cmdline_lp_ctx, &smb_options);
lpcfg_smbcli_session_options(cmdline_lp_ctx, &smb_session_options);
ev_ctx = s4_event_context_init(talloc_autofree_context());
ev_ctx = s4_event_context_init(ctx);
DEBUG( 3, ( "Client started (version %s).\n", SAMBA_VERSION_STRING ) );