From ceb8f840e64c5722f380dd5bdfe2c7679cbcbae0 Mon Sep 17 00:00:00 2001 From: mike Date: Fri, 20 Jan 2012 22:32:38 +0000 Subject: [PATCH] Check for NULL response. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10193 7a7537e8-13f0-0310-91df-b6672ffda945 --- backend/ipp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/ipp.c b/backend/ipp.c index 3e7dd6e9e..5f8d9035c 100644 --- a/backend/ipp.c +++ b/backend/ipp.c @@ -2106,7 +2106,7 @@ monitor_printer( else monitor->job_state = IPP_JOB_COMPLETED; } - else + else if (response) { for (attr = response->attrs; attr; attr = attr->next) { -- 2.39.2