Author: tridge
Date: 2007-01-19 03:52:21 +0000 (Fri, 19 Jan 2007)
New Revision: 20886

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20886

Log:

fixed a valgrind error

Modified:
   branches/SAMBA_4_0/source/torture/raw/lockbench.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/lockbench.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/lockbench.c   2007-01-18 23:21:59 UTC 
(rev 20885)
+++ branches/SAMBA_4_0/source/torture/raw/lockbench.c   2007-01-19 03:52:21 UTC 
(rev 20886)
@@ -83,6 +83,7 @@
 {
        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)));

Reply via email to