diff --git a/qos_auth/auth_ctl/qos_ctrl.c b/qos_auth/auth_ctl/qos_ctrl.c index 920f90f..75256e4 100644 --- a/qos_auth/auth_ctl/qos_ctrl.c +++ b/qos_auth/auth_ctl/qos_ctrl.c @@ -420,6 +420,7 @@ void sched_exit_qos_list(struct task_struct *p) --auth->num[qts->in_qos]; list_del_init(&qts->qos_list); qts->in_qos = NO_QOS; + put_task_struct(p); mutex_unlock(&auth->mutex); out_put_auth: