From: Felix Fietkau Date: Sun, 25 May 2014 19:24:09 +0000 (+0200) Subject: service: free trigger json_script context X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1a555f67c7de2b942aa188840ab97fb0e518c1ca;p=oweals%2Fprocd.git service: free trigger json_script context Signed-off-by: Felix Fietkau --- diff --git a/service/trigger.c b/service/trigger.c index 6cd94d4..480367b 100644 --- a/service/trigger.c +++ b/service/trigger.c @@ -90,6 +90,7 @@ static void q_job_run(struct runqueue *q, struct runqueue_task *t) static void trigger_free(struct trigger *t) { + json_script_free(&t->jctx); uloop_timeout_cancel(&t->delay); free(t->data); list_del(&t->list);