summaryrefslogtreecommitdiff
path: root/source3/printing/spoolssd.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2021-01-12 09:26:24 +0100
committerVolker Lendecke <vl@samba.org>2021-01-14 13:29:35 +0000
commit33f7aac8719a5de9a3dc01cda70b190c1a824a53 (patch)
treea49a63271d411dd3f200d53ac18f73cd307e4304 /source3/printing/spoolssd.c
parent51f5631bbb3801d320127ea4a90403cb074c0095 (diff)
downloadsamba-33f7aac8719a5de9a3dc01cda70b190c1a824a53.tar.gz
rpc_server: Make dcerpc_ncacn_accept() take tsocket_address **
dcerpc_ncacn_accept() talloc_move's the addresses away from the caller's talloc hierarchy. Don't leave pointers around in the caller. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Diffstat (limited to 'source3/printing/spoolssd.c')
-rw-r--r--source3/printing/spoolssd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c
index 8aef363fa91..67cd20684fd 100644
--- a/source3/printing/spoolssd.c
+++ b/source3/printing/spoolssd.c
@@ -430,8 +430,8 @@ static void spoolss_handle_client(struct tevent_req *req)
data->msg_ctx,
data->dce_ctx,
ep,
- cli_addr,
- srv_addr,
+ &cli_addr,
+ &srv_addr,
sd,
spoolss_client_terminated,
data);