From 6710316a18c33601e780282e72c60f09b5175280 Mon Sep 17 00:00:00 2001 From: Doug Freed Date: Fri, 30 Sep 2016 17:29:56 -0400 Subject: openrc-run: fix double free --- src/rc/openrc-run.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/rc/openrc-run.c b/src/rc/openrc-run.c index e3b4fbb0..bb79f42f 100644 --- a/src/rc/openrc-run.c +++ b/src/rc/openrc-run.c @@ -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"); -- cgit v1.2.3