From: mike Date: Mon, 23 Apr 2007 19:25:13 +0000 (+0000) Subject: Fix crash when a printer points to a bad file: URL... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a2eb5108c6e9cccf090a91d772b1691d82f46ee;p=thirdparty%2Fcups.git Fix crash when a printer points to a bad file: URL... git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6462 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/scheduler/job.c b/scheduler/job.c index 01833037c0..a0e514ada3 100644 --- a/scheduler/job.c +++ b/scheduler/job.c @@ -3324,6 +3324,8 @@ start_job(cupsd_job_t *job, /* I - Job ID */ cupsdClosePipe(job->status_pipes); cupsdStatBufDelete(job->status_buffer); + job->status_buffer = NULL; + cupsArrayDelete(filters); if (printer->remote && job->num_files > 1)