diff options
-rw-r--r-- | source4/torture/smb2/durable_open.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c index 22c0176025..3d4744d1de 100644 --- a/source4/torture/smb2/durable_open.c +++ b/source4/torture/smb2/durable_open.c @@ -588,6 +588,7 @@ bool test_durable_open_reopen4(struct torture_context *tctx, ZERO_STRUCT(io2); io2.in.fname = fname; io2.in.durable_handle = h; + h = NULL; status = smb2_create(tree2, mem_ctx, &io2); CHECK_STATUS(status, NT_STATUS_OK); |