diff options
Diffstat (limited to 'src/rc-update')
-rw-r--r-- | src/rc-update/rc-update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc-update/rc-update.c b/src/rc-update/rc-update.c index 445db4e8..49104af4 100644 --- a/src/rc-update/rc-update.c +++ b/src/rc-update/rc-update.c @@ -288,7 +288,7 @@ int main(int argc, char **argv) if (service) rc_stringlist_add(runlevels, service); if (!TAILQ_FIRST(runlevels)) { - free(runlevels); + rc_stringlist_free(runlevels); runlevels = rc_runlevel_list(); } |