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:
parent
3cfa58de12
commit
1ad4bae262
@ -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 ) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user