diff options
author | John Crispin <blogic@openwrt.org> | 2013-07-10 12:36:53 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-07-10 12:43:37 +0200 |
commit | 721b75070af01c2c49b5abe80baae1d95ca5a603 (patch) | |
tree | b4703ac21b576fe9f8b1f00a7fad6efb04d8d77d | |
parent | f29ce20a2f87dc5a9c266c5ffca68f2a6f0de1dc (diff) | |
download | unitd-721b75070af01c2c49b5abe80baae1d95ca5a603.tar unitd-721b75070af01c2c49b5abe80baae1d95ca5a603.zip |
invalid pointer was passed to free()
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r-- | trigger.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |