summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/smb2/setinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/smb2/setinfo.c b/source4/torture/smb2/setinfo.c
index 72a75db57e..aa66d510d4 100644
--- a/source4/torture/smb2/setinfo.c
+++ b/source4/torture/smb2/setinfo.c
@@ -44,6 +44,8 @@ BOOL torture_smb2_setinfo(void)
time_t basetime = (time(NULL) - 86400) & ~1;
int n = time(NULL) % 100;
+ ZERO_STRUCT(handle);
+
fname = talloc_asprintf(mem_ctx, BASEDIR "fnum_test_%d.txt", n);
fname_new = talloc_asprintf(mem_ctx, BASEDIR "fnum_test_new_%d.txt", n);