Subject: Re: [PATCH] mwifiex: Fix mem leak in mwifiex_tm_cmd

From: Kalle Valo <[email-masked]>
Date: Thu, 4 Apr 2019 10:19:01 +0000 (UTC)

Yue Haibing <[email-masked]> wrote:

> From: YueHaibing <[email-masked]>
> 
> '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 <[email-masked]>

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