Yue Haibing <yuehaibing@xxxxxxxxxx> wrote: > From: YueHaibing <yuehaibing@xxxxxxxxxx> > > '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@xxxxxxxxxx> 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