mirror of
https://github.com/openharmony/kernel_linux_common_modules.git
synced 2026-08-27 01:31:36 -04:00
fix memory leak cause by qos_ctrl
Signed-off-by: wanxiaoqing <wanxiaoqing@huawei.com>
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