aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/librc/librc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c
index 51e37aba..027d3fc1 100644
--- a/src/librc/librc.c
+++ b/src/librc/librc.c
@@ -947,11 +947,9 @@ rc_services_in_runlevel(const char *runlevel)
#ifdef RC_PKG_INITDIR
TAILQ_CONCAT(list, pkg, entries);
- free(pkg);
#endif
#ifdef RC_LOCAL_INITDIR
TAILQ_CONCAT(list, local, entries);
- free(local);
#endif
return list;
}