summaryrefslogtreecommitdiffstats
path: root/source/rpc_server/srv_spoolss.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/rpc_server/srv_spoolss.c')
-rwxr-xr-xsource/rpc_server/srv_spoolss.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/rpc_server/srv_spoolss.c b/source/rpc_server/srv_spoolss.c
index f846813a40b..b3a67dd6cfd 100755
--- a/source/rpc_server/srv_spoolss.c
+++ b/source/rpc_server/srv_spoolss.c
@@ -1244,6 +1244,9 @@ static BOOL api_spoolss_getjob(pipes_struct *p)
prs_struct *data = &p->in_data.data;
prs_struct *rdata = &p->out_data.rdata;
+ ZERO_STRUCT(q_u);
+ ZERO_STRUCT(r_u);
+
if(!spoolss_io_q_getjob("", &q_u, data, 0)) {
DEBUG(0,("spoolss_io_q_getjob: unable to unmarshall SPOOL_Q_GETJOB.\n"));
return False;