diff options
| author | Stefan Metzmacher <metze@samba.org> | 2013-09-18 13:10:20 +0200 |
|---|---|---|
| committer | Stefan Metzmacher <metze@samba.org> | 2014-01-07 08:37:34 +0100 |
| commit | 13ccc5b517e873fe61da4ed7c10b26717aa2fa65 (patch) | |
| tree | 76a20a96ca8e109828290ebfef72b4d74f87dcc3 /source4 | |
| parent | 0dc30b9fe8243e9596e4016a20e1f7f19223ed1a (diff) | |
| download | samba-13ccc5b517e873fe61da4ed7c10b26717aa2fa65.tar.gz samba-13ccc5b517e873fe61da4ed7c10b26717aa2fa65.tar.xz samba-13ccc5b517e873fe61da4ed7c10b26717aa2fa65.zip | |
s4:torture:spoolss_win: fix valgrind problem in test_EnumJobs()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4')
| -rw-r--r-- | source4/torture/rpc/spoolss_win.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss_win.c b/source4/torture/rpc/spoolss_win.c index c64b20e225..b848bbdec7 100644 --- a/source4/torture/rpc/spoolss_win.c +++ b/source4/torture/rpc/spoolss_win.c @@ -278,7 +278,10 @@ static bool test_EnumJobs(struct torture_context *tctx, torture_comment(tctx, "Test EnumJobs\n"); + ZERO_STRUCT(ej); ej.in.handle = handle; + ej.in.firstjob = 0; + ej.in.numjobs = 0; ej.in.level = 2; ej.in.buffer = &blob; ej.in.offered = 1024; |
