diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2012-04-19 23:20:34 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2012-04-20 17:12:27 +0200 |
commit | 02a3bcc6b4372ca50c0a62b193f9a75b988ffa69 (patch) | |
tree | e570c8bed3b05d55efc6a0a4d1ac5fe9f876d61d /src/test/test-watchdog.c | |
parent | 153bda8f03c670caf137f745350c0215b9be2147 (diff) |
job: allow job_free() only on already unlinked jobs
job_free() is IMO too helpful when it unlinks the job from the transaction.
The callers should ensure the job is already unlinked before freeing.
The added assertions check if anyone gets it wrong.
Diffstat (limited to 'src/test/test-watchdog.c')
0 files changed, 0 insertions, 0 deletions