From 971b39bb103410444cfdeaa6e9684c7496a39ab3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 22 Aug 2013 11:19:33 +0000 Subject: torture: Remove an unused variable Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source4/torture/smb2/getinfo.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/torture') 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; } -- cgit