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:
f29ce20
)
invalid pointer was passed to free()
author
John Crispin
<blogic@openwrt.org>
Wed, 10 Jul 2013 10:36:53 +0000
(12:36 +0200)
committer
John Crispin
<blogic@openwrt.org>
Wed, 10 Jul 2013 10:43:37 +0000
(12:43 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
trigger.c
patch
|
blob
|
history
diff --git
a/trigger.c
b/trigger.c
index fff1855f6fe48f348c92002271d6225012c3851f..cecc6a6b72bd16a22e00248935912fe66046073c 100644
(file)
--- a/
trigger.c
+++ b/
trigger.c
@@
-94,7
+94,7
@@
static void q_job_complete(struct runqueue *q, struct runqueue_task *p)
if (j->trigger->remove) {
list_del(&j->trigger->list);
- free(
&
j->trigger);
+ free(j->trigger);
} else {
j->trigger->pending = 0;
}