[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YQLkOCoTlt96SVul@mtj.duckdns.org>
Date: Thu, 29 Jul 2021 07:24:08 -1000
From: Tejun Heo <tj@...nel.org>
To: Zhen Lei <thunder.leizhen@...wei.com>
Cc: Lai Jiangshan <jiangshanlai@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>
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@...wei.com>
Applied to wq/for-5.15.
Thanks.
--
tejun
Powered by blists - more mailing lists