From c7286f159aceba9e10df7b5d73cc90411b4910b7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 12 Dec 2011 13:46:52 +0100 Subject: s3:smbd/ipc: pass 'state' as mem_ctx to np_read_send() metze --- source3/smbd/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit