summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-13 20:44:19 +0200
committerGünther Deschner <gd@samba.org>2009-04-13 23:45:45 +0200
commit1dbb6530fa044fbbc65409238b5b57dfd0e850a3 (patch)
treefb41de0065e58fc87862cb8ed45aee3cda9f5e53 /source4/torture
parent56f5105400e1eda7baf5babe7ad1e608d0ffa04b (diff)
downloadsamba-1dbb6530fa044fbbc65409238b5b57dfd0e850a3.tar.gz
samba-1dbb6530fa044fbbc65409238b5b57dfd0e850a3.tar.bz2
samba-1dbb6530fa044fbbc65409238b5b57dfd0e850a3.zip
s4-smbtorture: fix two valgrind warnings.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/spoolss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index f4181f4747..b1889704a7 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -1122,6 +1122,7 @@ static bool test_AddJob(struct torture_context *tctx,
r.in.handle = handle;
r.in.offered = 0;
r.out.needed = &needed;
+ r.in.buffer = r.out.buffer = NULL;
torture_comment(tctx, "Testing AddJob\n");
@@ -1381,6 +1382,7 @@ static bool test_GetPrinterDataEx(struct torture_context *tctx,
r.in.offered = 0;
r.out.type = &type;
r.out.needed = &needed;
+ r.out.buffer = NULL;
torture_comment(tctx, "Testing GetPrinterDataEx\n");