summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
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 ) );