summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--service/trigger.c1
1 files changed, 1 insertions, 0 deletions
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);