summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-24 09:00:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:50 -0500
commit3260b5518853fa3d7cf543fca45b45d6aa0b9280 (patch)
treea053054312f5021b8eccaaa60d4a2d9c788041b3
parent59d5e6a1b0426983e60489b32fdb6336469b9ee6 (diff)
downloadsamba-3260b5518853fa3d7cf543fca45b45d6aa0b9280.tar.gz
samba-3260b5518853fa3d7cf543fca45b45d6aa0b9280.tar.bz2
samba-3260b5518853fa3d7cf543fca45b45d6aa0b9280.zip
r21523: fix a valgrind warning, we write the struct content to the file and should not leave
t2.out uninialized metze (This used to be commit 4723374d14e9c5648708a7fc5460e8ccda193d1e)
-rw-r--r--source4/torture/basic/aliases.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/basic/aliases.c b/source4/torture/basic/aliases.c
index 01ca33359d..d8da435e2f 100644
--- a/source4/torture/basic/aliases.c
+++ b/source4/torture/basic/aliases.c
@@ -160,6 +160,7 @@ static bool qpathinfo_aliases(struct torture_context *tctx,
t2.in.setup = &setup;
t2.in.params = data_blob_talloc(tctx, NULL, 6);
t2.in.data = data_blob(NULL, 0);
+ ZERO_STRUCT(t2.out);
smbcli_unlink(cli->tree, fname);
fnum = create_complex_file(cli, cli, fname);