core: unref slice ref after use

This commit is contained in:
Lennart Poettering
2013-06-18 02:07:35 +02:00
parent 4ec9a8a48d
commit 702a2d8f6a
+2
View File
@@ -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);