Messages in this thread | | | Date | Thu, 29 Jul 2021 07:24:08 -1000 | From | Tejun Heo <> | Subject | Re: [PATCH v2 1/1] workqueue: Fix possible memory leaks in wq_numa_init() |
| |
On Thu, Jul 22, 2021 at 11:03:52AM +0800, Zhen Lei wrote: > In error handling branch "if (WARN_ON(node == NUMA_NO_NODE))", the > previously allocated memories are not released. Doing this before > allocating memory eliminates memory leaks. > > Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Applied to wq/for-5.15.
Thanks.
-- tejun
| |