]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/job.c
job: job_uninstall()
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 20 Apr 2012 08:21:37 +0000 (10:21 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 20 Apr 2012 15:12:27 +0000 (17:12 +0200)
commit97e7d748d1bf26790fc3b2607885f4ac8c4ecf3a
treebbabe2eb9589c28da467ba4e0d510ac7cd65e98f
parent121b3b318042b7fd67ac96601971c1c2f9b77be5
job: job_uninstall()

Split the uninstallation of the job from job_free() into a separate function.
Adjust the callers.

job_free() now only works on unlinked and uninstalled jobs. This enforces clear
thinking about job lifetimes.
src/core/job.c
src/core/job.h
src/core/manager.c
src/core/unit.c