summaryrefslogtreecommitdiff
path: root/source4/torture/basic
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-02-10 17:46:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:57 -0500
commitf6558c04fe6221ce07de56104a72a301a5ad95f6 (patch)
tree9657a451684a76c31fe76aceebb24b9549f3886d /source4/torture/basic
parente2821c42385d67ea3d57e442000d008e66e96dd7 (diff)
downloadsamba-f6558c04fe6221ce07de56104a72a301a5ad95f6.tar.gz
samba-f6558c04fe6221ce07de56104a72a301a5ad95f6.tar.bz2
samba-f6558c04fe6221ce07de56104a72a301a5ad95f6.zip
r21270: Fix a memleak
(This used to be commit 918031a99c583b45c854c6d066f56ca6887011dd)
Diffstat (limited to 'source4/torture/basic')
-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*/