diff options
Diffstat (limited to 'src/job.c')
-rw-r--r-- | src/job.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -335,13 +335,18 @@ job_queue_runner () interval = lock_expire_time; /* Re-queue the job */ job->state = STATE_QUEUED; job->timestamp = now + interval; } else + { job_remove (job); + free (job); + job = next; + continue; + } } } if (job->state == STATE_QUEUED) { if (job->timestamp >= now) |