Messages in this thread | | | Subject | Re: [PATCH] mwifiex: Fix mem leak in mwifiex_tm_cmd | From | Kalle Valo <> | Date | Thu, 4 Apr 2019 10:19:01 +0000 (UTC) |
| |
Yue Haibing <yuehaibing@huawei.com> wrote:
> From: YueHaibing <yuehaibing@huawei.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@huawei.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
| |