summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 6a230e50c8..d9e0b209d2 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2795,6 +2795,7 @@ static int service_enumerate(Manager *m) {
STRV_FOREACH(p, arch_daemons_split) {
free(name);
+ name = NULL;
if (**p == '!') /* daemons prefixed with ! are disabled, so ignore them */
continue;