From 653da099fb8f08ea522e512ead4380bc53d4efa1 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Thu, 9 Oct 2025 19:31:33 +0200 Subject: [PATCH] smbtorture: fix a test rundown Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke --- source4/torture/smb2/lease.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/torture/smb2/lease.c b/source4/torture/smb2/lease.c index ec97ae6b59c..5b915907523 100644 --- a/source4/torture/smb2/lease.c +++ b/source4/torture/smb2/lease.c @@ -7281,7 +7281,7 @@ done: smb2_util_close(tree, h1); } if (!smb2_util_handle_empty(h2)) { - smb2_util_close(tree, h2); + smb2_util_close(tree2, h2); } if (!smb2_util_handle_empty(dirh1)) { smb2_util_close(tree, dirh1); -- 2.47.3