summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-03-23 20:28:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:39 -0500
commit90d8786d051f79ca100a211640b1bf9c737ec358 (patch)
treec00bffc2ed7f299403ef5decfbdee1a454275fcd /source4/torture
parentc61db93c7e2d46ac0fd1a0f98199c111fd416a9b (diff)
downloadsamba-90d8786d051f79ca100a211640b1bf9c737ec358.tar.gz
samba-90d8786d051f79ca100a211640b1bf9c737ec358.tar.bz2
samba-90d8786d051f79ca100a211640b1bf9c737ec358.zip
r21951: Hopefully fix valgrind warning.
(This used to be commit e5d0487f3196da4e5aa79a6f285b3f3d23d303ca)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/unix/unix_info2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/unix/unix_info2.c b/source4/torture/unix/unix_info2.c
index 8c642c1d8d..9bbeddb4a3 100644
--- a/source4/torture/unix/unix_info2.c
+++ b/source4/torture/unix/unix_info2.c
@@ -99,6 +99,7 @@ static NTSTATUS set_path_info2(void *mem_ctx,
{
union smb_setfileinfo sfinfo;
+ ZERO_STRUCT(sfinfo.basic_info.in);
sfinfo.generic.level = RAW_SFILEINFO_UNIX_INFO2;
sfinfo.generic.in.file.path = fname;