summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-02-23 15:35:15 +0100
committerMichael Adam <obnox@samba.org>2012-02-27 02:08:27 +0100
commitb041d28fea70dce8e94fbe772b39bf3ee678eb4f (patch)
tree06412f0a6d635391226822596232923729c7e126
parent687e065036d0d39099a6ec909860c07144b8aa51 (diff)
downloadsamba-b041d28fea70dce8e94fbe772b39bf3ee678eb4f.tar.gz
samba-b041d28fea70dce8e94fbe772b39bf3ee678eb4f.tar.bz2
samba-b041d28fea70dce8e94fbe772b39bf3ee678eb4f.zip
s4:torture:smb2:durable_open: use the correct tree in the final close call
-rw-r--r--source4/torture/smb2/durable_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c
index 6ef5a321e9..d4dff5e08c 100644
--- a/source4/torture/smb2/durable_open.c
+++ b/source4/torture/smb2/durable_open.c
@@ -590,7 +590,7 @@ bool test_durable_open_reopen4(struct torture_context *tctx,
done:
if (h != NULL) {
- smb2_util_close(tree, *h);
+ smb2_util_close(tree2, *h);
}
smb2_util_unlink(tree2, fname);