summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trigger.c2
1 files changed, 1 insertions, 1 deletions
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;
}