Yuan Can <yuancan@xxxxxxxxxx> wrote: > The coex_cb needs to be freed when rsi_create_kthread() failed in > rsi_coex_attach(). > > Fixes: 2108df3c4b18 ("rsi: add coex support") > Signed-off-by: Yuan Can <yuancan@xxxxxxxxxx> > Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx> Patch applied to wireless-next.git, thanks. 956fb851a6e1 wifi: rsi: Fix memory leak in rsi_coex_attach() -- https://patchwork.kernel.org/project/linux-wireless/patch/20221205061441.114632-1-yuancan@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches