From: John Crispin Date: Wed, 10 Jul 2013 10:36:53 +0000 (+0200) Subject: invalid pointer was passed to free() X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=721b75070af01c2c49b5abe80baae1d95ca5a603;p=oweals%2Fprocd.git invalid pointer was passed to free() Signed-off-by: John Crispin --- diff --git a/trigger.c b/trigger.c index fff1855..cecc6a6 100644 --- 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; }