summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2017-05-11 16:01:59 -0700
committerRalph Boehme <slow@samba.org>2017-05-13 16:50:13 +0200
commit1ad4bae2623ff487509b1b5f15b9253e7c522f5f (patch)
treefe9de18f0f82328246f86d2e4c61bc006d4f7c23 /source4/client
parent3cfa58de1256de94461e9e303984030fa6483568 (diff)
downloadsamba-1ad4bae2623ff487509b1b5f15b9253e7c522f5f.tar.gz
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>
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 9b2115acc31..e04aa25d69b 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -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 ) );