diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/smb2/getinfo.c | 3 |
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; } |