projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396efd7
)
service: ensure that trigger timers are always cancelled before free
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 25 May 2014 19:12:49 +0000
(21:12 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 25 May 2014 19:12:49 +0000
(21:12 +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 f4504011f8b6c0292b24fb3053ee608b75cd779b..6cd94d40809dd7c0985ffedf618c4e31b83c7456 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)
{
+ uloop_timeout_cancel(&t->delay);
free(t->data);
list_del(&t->list);
free(t);