diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-01-19 03:52:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:43:45 -0500 |
commit | 630733e9ef9241df1b4d62b9fa6f32c721f9bfad (patch) | |
tree | 681d3559da87272d09ebefaf89da3926458e4f69 /source4/torture | |
parent | c1aac87d34a9596e449a4baa661b44009552b5b4 (diff) | |
download | samba-630733e9ef9241df1b4d62b9fa6f32c721f9bfad.tar.gz samba-630733e9ef9241df1b4d62b9fa6f32c721f9bfad.tar.bz2 samba-630733e9ef9241df1b4d62b9fa6f32c721f9bfad.zip |
r20886: fixed a valgrind error
(This used to be commit acc96e42e74005f1c381b0ab3f6c1b2e051ffaec)
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))); |