chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b272b74
)
core: gc half-created stub units
author
Lennart Poettering
<lennart@poettering.net>
Mon, 24 Feb 2014 02:20:54 +0000
(
03:20
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 24 Feb 2014 02:38:58 +0000
(
03:38
+0100)
src/core/unit.c
patch
|
blob
|
history
diff --git
a/src/core/unit.c
b/src/core/unit.c
index a59556d97c52b8dd90f17845b4470132738f0e16..1bbcb39d3227209ee1a537795112248ac947f458 100644
(file)
--- 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;