mirror of
https://github.com/openharmony/kernel_linux_common_modules.git
synced 2026-08-26 17:16:37 -04:00
!66 fix memory leak cause by qos_ctrl
Merge pull request !66 from Wanxiaoqing/master
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user