From: Lennart Poettering Date: Mon, 24 Feb 2014 02:20:54 +0000 (+0100) Subject: core: gc half-created stub units X-Git-Tag: v210~22 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=c35fa384d00dc5dc7d9f339113b015a3f8a5cf79 core: gc half-created stub units --- diff --git a/src/core/unit.c b/src/core/unit.c index a59556d97..1bbcb39d3 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;