diff --git a/source4/torture/smb2/lease.c b/source4/torture/smb2/lease.c index 30bbefdce6a..60c79e7666b 100644 --- a/source4/torture/smb2/lease.c +++ b/source4/torture/smb2/lease.c @@ -333,7 +333,12 @@ static bool test_lease_upgrade2(struct torture_context *tctx, struct smb2_tree *tree) { TALLOC_CTX *mem_ctx = talloc_new(tctx); - struct smb2_handle h, hnew; + struct smb2_handle h = { + .data = {}, + }; + struct smb2_handle hnew = { + .data = {}, + }; NTSTATUS status; struct smb2_create io; struct smb2_lease ls;