summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-24 03:20:54 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-24 03:38:58 +0100
commitc35fa384d00dc5dc7d9f339113b015a3f8a5cf79 (patch)
tree3a521d2ea5bbff6041cbd91cfde0be0f1ebd15c7 /src/core
parentb272b74dfd2284838db737f62a77fb5ece227bea (diff)
core: gc half-created stub units
Diffstat (limited to 'src/core')
-rw-r--r--src/core/unit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index a59556d97c..1bbcb39d32 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -259,9 +259,6 @@ int unit_set_description(Unit *u, const char *description) {
bool unit_check_gc(Unit *u) {
assert(u);
- if (u->load_state == UNIT_STUB)
- return true;
-
if (UNIT_VTABLE(u)->no_gc)
return true;