diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-25 21:15:05 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-25 21:15:05 +0200 |
commit | 9c0f1463fe60b2524118cc7fdb18ce0b3e1d2f7c (patch) | |
tree | e063bc803f507fd593954b0fb93e6565a417240e /service | |
parent | bc0900b190015b3018adc652d91c4dfd6851aadd (diff) | |
download | unitd-9c0f1463fe60b2524118cc7fdb18ce0b3e1d2f7c.tar unitd-9c0f1463fe60b2524118cc7fdb18ce0b3e1d2f7c.zip |
service: fix trigger data memleak
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'service')
-rw-r--r-- | service/service.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/service/service.c b/service/service.c index 23532e8..8d1217f 100644 --- a/service/service.c +++ b/service/service.c @@ -149,7 +149,6 @@ service_delete(struct service *s) vlist_flush_all(&s->instances); avl_delete(&services, &s->avl); trigger_del(s); - s->trigger = NULL; free(s->trigger); free(s); service_validate_del(s); |