aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rc-status/rc-status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc-status/rc-status.c b/src/rc-status/rc-status.c
index cb701e24..d35c8429 100644
--- a/src/rc-status/rc-status.c
+++ b/src/rc-status/rc-status.c
@@ -406,7 +406,7 @@ int main(int argc, char **argv)
TAILQ_FOREACH(l, levels, entries) {
nservices = rc_services_in_runlevel_stacked(l->value);
TAILQ_CONCAT(sservices, nservices, entries);
- free(nservices);
+ rc_stringlist_free(nservices);
}
TAILQ_FOREACH_SAFE(s, services, entries, t) {
state = rc_service_state(s->value);