Zhengchao Shao <shaozhengchao@xxxxxxxxxx> wrote: > In the error path of ipw_wdev_init(), exception value is returned, and > the memory applied for in the function is not released. Also the memory > is not released in ipw_pci_probe(). As a result, memory leakage occurs. > So memory release needs to be added to the error path of ipw_wdev_init(). > > Fixes: a3caa99e6c68 ("libipw: initiate cfg80211 API conversion (v2)") > Signed-off-by: Zhengchao Shao <shaozhengchao@xxxxxxxxxx> Patch applied to wireless-next.git, thanks. 9fe21dc62611 wifi: ipw2200: fix memory leak in ipw_wdev_init() -- https://patchwork.kernel.org/project/linux-wireless/patch/20221209012422.182669-1-shaozhengchao@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches