提交 8efe1223 编写于 作者: T Tejun Heo

workqueue: Fix missing kfree(rescuer) in destroy_workqueue()

Signed-off-by: NTejun Heo <tj@kernel.org>
Reported-by: NQian Cai <cai@lca.pw>
Fixes: def98c84 ("workqueue: Fix spurious sanity check failures in destroy_workqueue()")
上级 def98c84
......@@ -4345,6 +4345,7 @@ void destroy_workqueue(struct workqueue_struct *wq)
/* rescuer will empty maydays list before exiting */
kthread_stop(rescuer->task);
kfree(rescuer);
}
/* sanity checks */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册