summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-01-19 03:52:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:45 -0500
commit630733e9ef9241df1b4d62b9fa6f32c721f9bfad (patch)
tree681d3559da87272d09ebefaf89da3926458e4f69 /source4/torture
parentc1aac87d34a9596e449a4baa661b44009552b5b4 (diff)
downloadsamba-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.c1
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)));