openrc-run: fix double free
This commit is contained in:
parent
61882821e0
commit
6710316a18
@ -1344,6 +1344,7 @@ int main(int argc, char **argv)
|
|||||||
applet_list,
|
applet_list,
|
||||||
runlevel, depoptions);
|
runlevel, depoptions);
|
||||||
rc_stringlist_free(tmplist);
|
rc_stringlist_free(tmplist);
|
||||||
|
tmplist = NULL;
|
||||||
TAILQ_FOREACH(svc, services, entries)
|
TAILQ_FOREACH(svc, services, entries)
|
||||||
printf("%s ", svc->value);
|
printf("%s ", svc->value);
|
||||||
printf ("\n");
|
printf ("\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user