[systemd-commits] src/core
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Jun 17 17:07:54 PDT 2013
src/core/unit.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 702a2d8f6a90b999cef0fbf75a226a770f863b00
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 18 02:07:35 2013 +0200
core: unref slice ref after use
diff --git a/src/core/unit.c b/src/core/unit.c
index b97158f..90ff43d 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -416,6 +416,8 @@ void unit_free(Unit *u) {
condition_free_list(u->conditions);
+ unit_ref_unset(&u->slice);
+
while (u->refs)
unit_ref_unset(u->refs);
More information about the systemd-commits
mailing list