Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote: > 'cmd' is malloced in ath10k_bmi_lz_data_large() and should be freed > before leaving from the error handling cases, otherwise it will cause > memory leak. > > Fixes: d58f466a5dee ("ath10k: add large size for BMI download data for SDIO") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 2326aa011967 ath10k: fix possible memory leak in ath10k_bmi_lz_data_large() -- https://patchwork.kernel.org/patch/11511841/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches