s3-rpc_server: Fixed unhandled error condition.
authorSimo Sorce <idra@samba.org>
Tue, 22 Jun 2010 22:03:17 +0000 (18:03 -0400)
committerAndreas Schneider <asn@samba.org>
Wed, 15 Sep 2010 10:53:40 +0000 (12:53 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
source3/rpc_server/srv_pipe_hnd.c

index 04a08791f242f5848f4bb0fc809c459ee0f54dd6..892ada8867322476797a592fa99f238ffc482413 100644 (file)
@@ -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;