1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

s3:torture: check the result of cli_nt_delete_on_close_recv() in test_notify.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-02-26 20:16:26 +01:00 committed by Andrew Bartlett
parent 70b7ef9573
commit 5686c80966

View File

@ -579,6 +579,10 @@ static void notify_bench3_del_on_close_set(struct tevent_req *subreq)
status = cli_nt_delete_on_close_recv(subreq);
TALLOC_FREE(subreq);
if (tevent_req_nterror(req, status)) {
return;
}
subreq = cli_close_send(state, state->ev, state->cli, state->dnum);
if (tevent_req_nomem(subreq, req)) {
return;