summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-08-22 11:19:33 +0000
committerJeremy Allison <jra@samba.org>2013-08-23 09:48:37 -0700
commit971b39bb103410444cfdeaa6e9684c7496a39ab3 (patch)
tree5d1c02aac0a9c29bc6fc81077e395a8c06e50f9d /source4/torture/smb2
parent83d1495e587d12211587856bce0f583d188b3e81 (diff)
downloadsamba-971b39bb103410444cfdeaa6e9684c7496a39ab3.tar.gz
samba-971b39bb103410444cfdeaa6e9684c7496a39ab3.tar.bz2
samba-971b39bb103410444cfdeaa6e9684c7496a39ab3.zip
torture: Remove an unused variable
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r--source4/torture/smb2/getinfo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/torture/smb2/getinfo.c b/source4/torture/smb2/getinfo.c
index 16db71563d..f407acc77b 100644
--- a/source4/torture/smb2/getinfo.c
+++ b/source4/torture/smb2/getinfo.c
@@ -181,7 +181,6 @@ static bool torture_smb2_buffercheck(struct torture_context *tctx, struct smb2_t
*/
bool torture_smb2_getinfo(struct torture_context *torture)
{
- TALLOC_CTX *mem_ctx = talloc_new(NULL);
struct smb2_tree *tree;
bool ret = true;
NTSTATUS status;
@@ -212,7 +211,5 @@ bool torture_smb2_getinfo(struct torture_context *torture)
ret &= torture_smb2_fsinfo(torture, tree);
ret &= torture_smb2_buffercheck(torture, tree);
- talloc_free(mem_ctx);
-
return ret;
}