summaryrefslogtreecommitdiffabout
path: root/src/job.c
Side-by-side diff
Diffstat (limited to 'src/job.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/job.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/job.c b/src/job.c
index 3fae432..315303f 100644
--- a/src/job.c
+++ b/src/job.c
@@ -340,3 +340,8 @@ job_queue_runner ()
else
- job_remove (job);
+ {
+ job_remove (job);
+ free (job);
+ job = next;
+ continue;
+ }
}

Return to:

Send suggestions and report system problems to the System administrator.