summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Wuerthner <ralph.wuerthner@de.ibm.com>2019-09-12 11:18:51 +0200
committerJeremy Allison <jra@samba.org>2019-09-12 16:16:28 +0000
commitaa5b2333283871cc573b3013669c64c3edd3684c (patch)
tree1cd1a3c2d853612ba7182bb965d738737b341e89
parent156eb9120e66fe58328decb035a4d926396f6a59 (diff)
downloadsamba-aa5b2333283871cc573b3013669c64c3edd3684c.tar.gz
s4:torture: fix closure of test directory handle
Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source4/torture/smb2/create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/create.c b/source4/torture/smb2/create.c
index f3eca493e4b..e35bf179ba5 100644
--- a/source4/torture/smb2/create.c
+++ b/source4/torture/smb2/create.c
@@ -1138,7 +1138,7 @@ static bool test_smb2_open_for_delete(struct torture_context *tctx,
smb2_util_unlink(tree, fname);
- smb2_util_close(tree, h1);
+ smb2_util_close(tree, h);
smb2_util_unlink(tree, fname);
smb2_deltree(tree, DNAME);