diff options
author | John Crispin <blogic@openwrt.org> | 2013-11-20 19:00:12 +0100 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-11-20 20:22:39 +0100 |
commit | 21d307367eb991f7494ce43087a5edb94288d08f (patch) | |
tree | 7d312a8cb3bd44580cbd81974b78761bd5a5e084 /service | |
parent | 84a6256a01c45079e8a27e37a0fe8715f2254c7b (diff) | |
download | unitd-21d307367eb991f7494ce43087a5edb94288d08f.tar unitd-21d307367eb991f7494ce43087a5edb94288d08f.zip |
fix rcS memory leaks and running hook
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'service')
-rw-r--r-- | service/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/service.c b/service/service.c index d084371..3ec24c3 100644 --- a/service/service.c +++ b/service/service.c @@ -139,7 +139,7 @@ service_update(struct service *s, struct blob_attr *config, struct blob_attr **t vlist_flush(&s->instances); } - rcnow(s->name, "running"); + rc(s->name, "running"); return 0; } |