summaryrefslogtreecommitdiff
path: root/src/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-11 02:07:59 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-11 02:07:59 +0200
commit6c073082e7e3859cb6020db8c548325f342b7ba6 (patch)
treedfc968328216e659a66b89f06114f8bf5580b0cf /src/unit.c
parent4927fcae48de061393b3ce9c12d49f80d73fbf1d (diff)
socket: disable GC for pre-allocated per-connection service until it is used
Diffstat (limited to 'src/unit.c')
-rw-r--r--src/unit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unit.c b/src/unit.c
index 3c4bdec981..881f91a677 100644
--- a/src/unit.c
+++ b/src/unit.c
@@ -236,6 +236,9 @@ bool unit_check_gc(Unit *u) {
if (UNIT_VTABLE(u)->no_gc)
return true;
+ if (u->meta.no_gc)
+ return true;
+
if (u->meta.job)
return true;