openrc-run: fix double free

This commit is contained in:
Doug Freed 2016-09-30 17:29:56 -04:00
parent 61882821e0
commit 6710316a18

View File

@ -1344,6 +1344,7 @@ int main(int argc, char **argv)
applet_list,
runlevel, depoptions);
rc_stringlist_free(tmplist);
tmplist = NULL;
TAILQ_FOREACH(svc, services, entries)
printf("%s ", svc->value);
printf ("\n");