diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-03-12 17:26:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:20 -0500 |
commit | e2e3c377a3fd160e55dc73a1849622dff375462f (patch) | |
tree | 240b145d2fb49315756b33625404dc1f80395502 | |
parent | 1c66bcef8de15efaaf329c3fa3e73549b067036b (diff) | |
download | samba-e2e3c377a3fd160e55dc73a1849622dff375462f.tar.gz samba-e2e3c377a3fd160e55dc73a1849622dff375462f.tar.bz2 samba-e2e3c377a3fd160e55dc73a1849622dff375462f.zip |
r14243: Fix Coverity bug # 143
(This used to be commit 5a0087e636104ffa98f23b8d17b4d002a55bc6b7)
-rw-r--r-- | source3/rpc_client/cli_spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index 51b7c5a56b..344d4fb4ba 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -361,7 +361,7 @@ static BOOL decode_jobs_2(TALLOC_CTX *mem_ctx, RPC_BUFFER *buffer, uint32 i; *jobs = TALLOC_ARRAY(mem_ctx, JOB_INFO_2, num_jobs); - if (!jobs) { + if (*jobs == NULL) { return False; } prs_set_offset(&buffer->prs,0); |