diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/raw/lockbench.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/raw/lockbench.c b/source4/torture/raw/lockbench.c index 04a3f92c93..c3908124aa 100644 --- a/source4/torture/raw/lockbench.c +++ b/source4/torture/raw/lockbench.c @@ -83,6 +83,7 @@ static void lock_completion(struct smbcli_request *req) { struct benchlock_state *state = (struct benchlock_state *)req->async.private; NTSTATUS status = smbcli_request_simple_recv(req); + state->req = NULL; if (!NT_STATUS_IS_OK(status)) { lock_failed++; DEBUG(0,("Lock failed - %s\n", nt_errstr(status))); |