1 |
commit: 6710316a18c33601e780282e72c60f09b5175280 |
2 |
Author: Doug Freed <dwfreed <AT> mtu <DOT> edu> |
3 |
AuthorDate: Fri Sep 30 21:29:56 2016 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 21:29:56 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=6710316a |
7 |
|
8 |
openrc-run: fix double free |
9 |
|
10 |
src/rc/openrc-run.c | 1 + |
11 |
1 file changed, 1 insertion(+) |
12 |
|
13 |
diff --git a/src/rc/openrc-run.c b/src/rc/openrc-run.c |
14 |
index e3b4fbb..bb79f42 100644 |
15 |
--- a/src/rc/openrc-run.c |
16 |
+++ b/src/rc/openrc-run.c |
17 |
@@ -1344,6 +1344,7 @@ int main(int argc, char **argv) |
18 |
applet_list, |
19 |
runlevel, depoptions); |
20 |
rc_stringlist_free(tmplist); |
21 |
+ tmplist = NULL; |
22 |
TAILQ_FOREACH(svc, services, entries) |
23 |
printf("%s ", svc->value); |
24 |
printf ("\n"); |