From b041d28fea70dce8e94fbe772b39bf3ee678eb4f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 23 Feb 2012 15:35:15 +0100 Subject: s4:torture:smb2:durable_open: use the correct tree in the final close call --- source4/torture/smb2/durable_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/smb2') 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); -- cgit