core: gc half-created stub units

This commit is contained in:
Lennart Poettering
2014-02-24 03:38:58 +01:00
parent b272b74dfd
commit c35fa384d0
-3
View File
@@ -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;