From: Felix Fietkau Date: Sun, 25 May 2014 19:15:05 +0000 (+0200) Subject: service: fix trigger data memleak X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9c0f1463fe60b2524118cc7fdb18ce0b3e1d2f7c;p=oweals%2Fprocd.git service: fix trigger data memleak Signed-off-by: Felix Fietkau --- 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);