[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 4 Apr 2019 10:19:01 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Yue Haibing <yuehaibing@...wei.com>
Cc: <amitkarwar@...il.com>, <nishants@...vell.com>,
<gbhat@...vell.com>, <huxinming820@...il.com>,
<davem@...emloft.net>, <linux-kernel@...r.kernel.org>,
<netdev@...r.kernel.org>, <linux-wireless@...r.kernel.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: Re: [PATCH] mwifiex: Fix mem leak in mwifiex_tm_cmd
Yue Haibing <yuehaibing@...wei.com> wrote:
> From: YueHaibing <yuehaibing@...wei.com>
>
> 'hostcmd' is alloced by kzalloc, should be freed before
> leaving from the error handling cases, otherwise it will
> cause mem leak.
>
> Fixes: 3935ccc14d2c ("mwifiex: add cfg80211 testmode support")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Patch applied to wireless-drivers-next.git, thanks.
003b686ace82 mwifiex: Fix mem leak in mwifiex_tm_cmd
--
https://patchwork.kernel.org/patch/10848633/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists