]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix crash when a printer points to a bad file: URL...
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 23 Apr 2007 19:25:13 +0000 (19:25 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 23 Apr 2007 19:25:13 +0000 (19:25 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6462 7a7537e8-13f0-0310-91df-b6672ffda945

scheduler/job.c

index 01833037c0821ca2b485b02a49a9d7b4df86225e..a0e514ada3ba82f5b9fa557d840f52f8bae365a1 100644 (file)
@@ -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)