From: Tejun Heo <tj@kernel.org>
To: Zhen Lei <thunder.leizhen@huawei.com>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 1/1] workqueue: Fix possible memory leaks in wq_numa_init()
Date: Thu, 29 Jul 2021 07:24:08 -1000 [thread overview]
Message-ID: <YQLkOCoTlt96SVul@mtj.duckdns.org> (raw)
In-Reply-To: <20210722030352.3966-2-thunder.leizhen@huawei.com>
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
prev parent reply other threads:[~2021-07-29 17:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-22 3:03 [PATCH v2 0/1] workqueue: Fix possible memory leaks in wq_numa_init() Zhen Lei
2021-07-22 3:03 ` [PATCH v2 1/1] " Zhen Lei
2021-07-28 2:50 ` Lai Jiangshan
2021-07-29 17:24 ` Tejun Heo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YQLkOCoTlt96SVul@mtj.duckdns.org \
--to=tj@kernel.org \
--cc=jiangshanlai@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=thunder.leizhen@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.