git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f5105
)
s4-smbtorture: fix two valgrind warnings.
author
Günther Deschner
<gd@samba.org>
Mon, 13 Apr 2009 18:44:19 +0000
(20:44 +0200)
committer
Günther Deschner
<gd@samba.org>
Mon, 13 Apr 2009 21:45:45 +0000
(23:45 +0200)
Guenther
source4/torture/rpc/spoolss.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/spoolss.c
b/source4/torture/rpc/spoolss.c
index f4181f4747e9bc5de9fcdab4fb518737f58436f1..b1889704a73901364128c2b818a23cede2e30030 100644
(file)
--- 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");