diff options
-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 749885dbb4..51b7c5a56b 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -384,7 +384,7 @@ static BOOL decode_forms_1(TALLOC_CTX *mem_ctx, RPC_BUFFER *buffer, int i; *forms = TALLOC_ARRAY(mem_ctx, FORM_1, num_forms); - if (!forms) { + if (*forms == NULL) { return False; } prs_set_offset(&buffer->prs,0); |