From 630733e9ef9241df1b4d62b9fa6f32c721f9bfad Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 19 Jan 2007 03:52:21 +0000 Subject: r20886: fixed a valgrind error (This used to be commit acc96e42e74005f1c381b0ab3f6c1b2e051ffaec) --- source4/torture/raw/lockbench.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/torture') 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))); -- cgit