summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_dssync.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-25 00:21:37 +0200
committerGünther Deschner <gd@samba.org>2008-06-25 09:51:31 +0200
commit92bd665aea68ee8d198f72c95af5da487efcfc36 (patch)
tree62db2b32e94a20743b91fa0fa87872b46bf8fd15 /source3/libnet/libnet_dssync.c
parentda70f8ab1ec840bbdcc73c22c4d4c54705c83980 (diff)
downloadsamba-92bd665aea68ee8d198f72c95af5da487efcfc36.tar.gz
rpc_client: let cli_get_session_key() return talloced session key.
Thanks, Volker, for pointing this out. Guenther (This used to be commit b47899195e0c190445953243fe80da4e92994dd1)
Diffstat (limited to 'source3/libnet/libnet_dssync.c')
-rw-r--r--source3/libnet/libnet_dssync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libnet/libnet_dssync.c b/source3/libnet/libnet_dssync.c
index 63a5c8bef19..b1392acd7e2 100644
--- a/source3/libnet/libnet_dssync.c
+++ b/source3/libnet/libnet_dssync.c
@@ -268,7 +268,7 @@ static NTSTATUS libnet_dssync_process(TALLOC_CTX *mem_ctx,
ctr1 = ctr.ctr2.ctr.mszip1.ctr1;
}
- status = cli_get_session_key(ctx->cli, &ctx->session_key);
+ status = cli_get_session_key(mem_ctx, ctx->cli, &ctx->session_key);
if (!NT_STATUS_IS_OK(status)) {
return status;
}