From: Ralph Boehme Date: Thu, 9 Oct 2025 17:31:33 +0000 (+0200) Subject: smbtorture: fix a test rundown X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=653da099fb8f08ea522e512ead4380bc53d4efa1;p=thirdparty%2Fsamba.git smbtorture: fix a test rundown Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke --- 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);