summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-16 04:31:07 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-16 04:31:07 +0200
commit949061f0d6f5ae8aecb5e1fc711f336e4ba48ca2 (patch)
tree686683dd346c9c615dddebcb7067045620663fee
parent413d6313d82ef4f50a4186cfadd8a6b1e4e65164 (diff)
manager: add newly created units to gc queue
-rw-r--r--manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/manager.c b/manager.c
index 81af07b000..688d9fa65b 100644
--- a/manager.c
+++ b/manager.c
@@ -1582,6 +1582,7 @@ int manager_load_unit_prepare(Manager *m, const char *name, const char *path, Un
unit_add_to_load_queue(ret);
unit_add_to_dbus_queue(ret);
+ unit_add_to_gc_queue(ret);
if (_ret)
*_ret = ret;