projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0f146
)
service: free trigger json_script context
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 25 May 2014 19:24:09 +0000
(21:24 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 25 May 2014 19:24:09 +0000
(21:24 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
service/trigger.c
patch
|
blob
|
history
diff --git
a/service/trigger.c
b/service/trigger.c
index 6cd94d40809dd7c0985ffedf618c4e31b83c7456..480367b05bc37c8ac7766db9fbe8829166b1f1cb 100644
(file)
--- 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);