d37b9bd35a
Resolves: RHEL-45525
29 lines
865 B
Diff
29 lines
865 B
Diff
From 08d2576b02fced09b94bcc205cfa7d08300abac3 Mon Sep 17 00:00:00 2001
|
|
From: Michael R Sweet <michael.r.sweet@gmail.com>
|
|
Date: Wed, 13 Sep 2023 13:47:55 -0400
|
|
Subject: [PATCH] Fix Coverity-discovered issues.
|
|
|
|
---
|
|
cups/raster-stream.c | 2 +-
|
|
scheduler/ipp.c | 13 +++++--------
|
|
scheduler/job.c | 2 --
|
|
tools/ipptool.c | 15 +++++++++------
|
|
4 files changed, 15 insertions(+), 17 deletions(-)
|
|
|
|
diff --git a/scheduler/job.c b/scheduler/job.c
|
|
index 278bfb501..6b5ae84ec 100644
|
|
--- a/scheduler/job.c
|
|
+++ b/scheduler/job.c
|
|
@@ -767,8 +767,6 @@ cupsdContinueJob(cupsd_job_t *job) /* I - Job */
|
|
cupsdLogJob(job, CUPSD_LOG_DEBUG,
|
|
"Unable to add decompression filter - %s", strerror(errno));
|
|
|
|
- cupsArrayDelete(filters);
|
|
-
|
|
abort_message = "Stopping job because the scheduler ran out of memory.";
|
|
|
|
goto abort_job;
|
|
--
|
|
2.47.0
|
|
|