mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
workqueue: Fix missing kfree(rescuer) in destroy_workqueue()
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Qian Cai <cai@lca.pw>
Fixes: def98c84b6
("workqueue: Fix spurious sanity check failures in destroy_workqueue()")
This commit is contained in:
parent
def98c84b6
commit
8efe1223d7
1 changed files with 1 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue