Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tools/ippeveprinter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2362,6 +2362,11 @@ delete_job(ippeve_job_t *job) // I - Job
if (Verbosity)
log_message(/*client*/NULL, "[Job %d] Removing job from history.", job->id);

// Jobs that are canceled or aborted before processing are still the active
// job, so clear that pointer before freeing the job...
if (job->printer->active_job == job)
job->printer->active_job = NULL;

ippDelete(job->attrs);

free(job->message);
Expand Down
Loading