summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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);