From 9c0f1463fe60b2524118cc7fdb18ce0b3e1d2f7c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 25 May 2014 21:15:05 +0200 Subject: [PATCH] service: fix trigger data memleak Signed-off-by: Felix Fietkau --- service/service.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.25.1