From 721b75070af01c2c49b5abe80baae1d95ca5a603 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 10 Jul 2013 12:36:53 +0200 Subject: [PATCH] invalid pointer was passed to free() Signed-off-by: John Crispin --- trigger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1