summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/basic/misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c
index e8f738a975..3e88e05550 100644
--- a/source4/torture/basic/misc.c
+++ b/source4/torture/basic/misc.c
@@ -495,6 +495,7 @@ static NTSTATUS benchrw_readwrite(struct torture_context *tctx,struct smbcli_req
union smb_write wr;
NT_STATUS_NOT_OK_RETURN(req->status);
+ talloc_free(req);
state->completed++;
/*rotate between writes and reads*/