]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
torture: Remove an unused variable
authorVolker Lendecke <vl@samba.org>
Thu, 22 Aug 2013 11:19:33 +0000 (11:19 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 23 Aug 2013 16:48:37 +0000 (09:48 -0700)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/smb2/getinfo.c

index 16db71563d27956b8d03a6486b6f59181254118e..f407acc77b71290ce47acf2e8102a6c627d8f91f 100644 (file)
@@ -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;
 }