summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index 04a08791f2..892ada8867 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -845,7 +845,8 @@ struct tevent_req *np_read_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
np_ipc_readv_next_vector,
&state->next_vector);
if (subreq == NULL) {
-
+ status = NT_STATUS_NO_MEMORY;
+ goto post_status;
}
tevent_req_set_callback(subreq, np_read_done, req);
return req;