summaryrefslogtreecommitdiff
path: root/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-14 02:10:33 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-14 02:10:33 +0200
commitc0b52914d23f6cc65bb67c77e2c5e7d58a6e8b9a (patch)
tree5ba01bf90e78a88bbd6611da9f464640df153ffd /manager.c
parent5ffceb2feae45b19a39d545468552ff2b7fb8e6d (diff)
manager: fix minor memory leak -- free cleanup queue on exit
Diffstat (limited to 'manager.c')
-rw-r--r--manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/manager.c b/manager.c
index 6913ff400d..46b187658d 100644
--- a/manager.c
+++ b/manager.c
@@ -521,6 +521,7 @@ void manager_free(Manager *m) {
assert(m);
+ manager_dispatch_cleanup_queue(m);
manager_clear_jobs_and_units(m);
for (c = 0; c < _UNIT_TYPE_MAX; c++)