summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-06-22 18:03:17 -0400
committerAndreas Schneider <asn@samba.org>2010-09-15 12:53:40 +0200
commit3f04b54197ba7dadd9831d7b5d1f57cf9d0b4014 (patch)
treead70c11f77dcfc74261f637384d5191e70c87be9 /source3/rpc_server
parent94d86a22a1ecfb74ccaa4ce441c33186544a69c8 (diff)
downloadsamba-3f04b54197ba7dadd9831d7b5d1f57cf9d0b4014.tar.gz
samba-3f04b54197ba7dadd9831d7b5d1f57cf9d0b4014.tar.bz2
samba-3f04b54197ba7dadd9831d7b5d1f57cf9d0b4014.zip
s3-rpc_server: Fixed unhandled error condition.
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/rpc_server')
-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;