[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <167172512673.8231.13701483342037956356.kvalo@kernel.org>
Date: Thu, 22 Dec 2022 16:05:31 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Zhengchao Shao <shaozhengchao@...wei.com>
Cc: <linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<stas.yakovlev@...il.com>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>,
<linville@...driver.com>, <weiyongjun1@...wei.com>,
<yuehaibing@...wei.com>, <shaozhengchao@...wei.com>
Subject: Re: [v2] wifi: ipw2200: fix memory leak in ipw_wdev_init()
Zhengchao Shao <shaozhengchao@...wei.com> wrote:
> In the error path of ipw_wdev_init(), exception value is returned, and
> the memory applied for in the function is not released. Also the memory
> is not released in ipw_pci_probe(). As a result, memory leakage occurs.
> So memory release needs to be added to the error path of ipw_wdev_init().
>
> Fixes: a3caa99e6c68 ("libipw: initiate cfg80211 API conversion (v2)")
> Signed-off-by: Zhengchao Shao <shaozhengchao@...wei.com>
Patch applied to wireless-next.git, thanks.
9fe21dc62611 wifi: ipw2200: fix memory leak in ipw_wdev_init()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20221209012422.182669-1-shaozhengchao@huawei.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists