summaryrefslogtreecommitdiff
path: root/source3/smbd/ipc.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-12 13:46:52 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-12 14:35:43 +0100
commitc7286f159aceba9e10df7b5d73cc90411b4910b7 (patch)
treea8545d14b85e29ce53b5a56800e1a438847b1ed3 /source3/smbd/ipc.c
parent1df1e0fb56f64cf2cf2ae115265a48f4968d3066 (diff)
downloadsamba-c7286f159aceba9e10df7b5d73cc90411b4910b7.tar.gz
samba-c7286f159aceba9e10df7b5d73cc90411b4910b7.tar.bz2
samba-c7286f159aceba9e10df7b5d73cc90411b4910b7.zip
s3:smbd/ipc: pass 'state' as mem_ctx to np_read_send()
metze
Diffstat (limited to 'source3/smbd/ipc.c')
-rw-r--r--source3/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 669e28e715..84cf1c54f7 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -305,7 +305,7 @@ static void api_dcerpc_cmd_write_done(struct tevent_req *subreq)
goto send;
}
- subreq = np_read_send(req->conn, server_event_context(),
+ subreq = np_read_send(state, server_event_context(),
state->handle, state->data, state->max_read);
if (subreq == NULL) {
reply_nterror(req, NT_STATUS_NO_MEMORY);