summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-20 20:47:49 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-20 20:47:49 +0100
commit302d0040d2571329b91dd531b670171064ec8302 (patch)
tree799494581999c01231007f091b7fd94ceb8d9a06 /job.c
parent21b293e8132552719ab2f93c70078b857c90149a (diff)
fix memleak
Diffstat (limited to 'job.c')
-rw-r--r--job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/job.c b/job.c
index ec0baba5ee..bbb8214895 100644
--- a/job.c
+++ b/job.c
@@ -37,7 +37,7 @@ void job_free(Job *j) {
hashmap_remove(j->manager->jobs, UINT32_TO_PTR(j->id));
}
- manager_transaction_delete_job(j->manager, j);
+ manager_transaction_unlink_job(j->manager, j);
free(j);
}