1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

rpc_host: We have tevent_req_oom() for ENOMEM

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2022-01-04 13:02:25 +01:00 committed by Jeremy Allison
parent 8732561396
commit a924e2cb20

View File

@ -998,7 +998,7 @@ static struct tevent_req *rpc_host_bind_read_send(
peer_addr,
&state->client->npa_info5);
if (!NT_STATUS_IS_OK(status)) {
tevent_req_error(req, ENOMEM);
tevent_req_oom(req);
return tevent_req_post(req, ev);
}