diff options
author | Doug Freed <dwfreed@mtu.edu> | 2016-09-30 17:29:56 -0400 |
---|---|---|
committer | Doug Freed <dwfreed@mtu.edu> | 2016-09-30 17:29:56 -0400 |
commit | 6710316a18c33601e780282e72c60f09b5175280 (patch) | |
tree | f99422360d99963fab88e00cdeb443d9d6407a8e /src/rc | |
parent | 61882821e0d6110a2ca2f67fad7c362983a85cf0 (diff) |
openrc-run: fix double free
Diffstat (limited to 'src/rc')
-rw-r--r-- | src/rc/openrc-run.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |