diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 76a789e883be1981fd55cd52061a0adfca8b4ed5..493908464b9e3e583b396eddfcc5336a5f68b7d3 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -4180,6 +4180,7 @@ void destroy_workqueue(struct workqueue_struct *wq) /* rescuer will empty maydays list before exiting */ kthread_stop(rescuer->task); + kfree(rescuer); } /* sanity checks */