summaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2010-03-17 20:37:47 +0000
committerRoy Marples <roy@marples.name>2010-03-17 20:37:47 +0000
commit7271449a0cab6aab8df23736e862e838d03df86e (patch)
tree9ab53fdbbc0ea4444b7367e5c430247f9c54d6dd /src/rc/runscript.c
parent4b333eaf366b6168fbe3e0e2cbf05022499c79aa (diff)
downloadopenrc-7271449a0cab6aab8df23736e862e838d03df86e.tar.gz
openrc-7271449a0cab6aab8df23736e862e838d03df86e.tar.bz2
openrc-7271449a0cab6aab8df23736e862e838d03df86e.tar.xz
Fix two leaks.
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r--src/rc/runscript.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index 0b2d71a..4676bd0 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -739,6 +739,8 @@ svc_start_deps(void)
free(tmp);
}
+ rc_stringlist_free(tmplist);
+ tmplist = NULL;
rc_stringlist_free(services);
services = NULL;
}