summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/smb2/durable_open.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c
index 4a2a0b594b..f54e41cab2 100644
--- a/source4/torture/smb2/durable_open.c
+++ b/source4/torture/smb2/durable_open.c
@@ -423,6 +423,7 @@ bool test_durable_open_reopen2(struct torture_context *tctx,
ZERO_STRUCT(io2);
io2.in.fname = fname;
io2.in.durable_handle = h;
+ h = NULL;
status = smb2_create(tree, mem_ctx, &io2);
CHECK_STATUS(status, NT_STATUS_OK);