Commit 8efe1223 authored by Tejun Heo's avatar Tejun Heo

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

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Reported-by: default avatarQian Cai <cai@lca.pw>
Fixes: def98c84 ("workqueue: Fix spurious sanity check failures in destroy_workqueue()")
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment