diff options
Diffstat (limited to 'src/core/job.c')
-rw-r--r-- | src/core/job.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/job.c b/src/core/job.c index f3c76d66b5..5ea717eae1 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -71,8 +71,10 @@ void job_free(Job *j) { j->installed = false; } - /* Detach from next 'smaller' objects */ - manager_transaction_unlink_job(j->manager, j, true); + assert(!j->transaction_prev); + assert(!j->transaction_next); + assert(!j->subject_list); + assert(!j->object_list); if (j->in_run_queue) LIST_REMOVE(Job, run_queue, j->manager->run_queue, j); |