Re: [PATCH] [v2] wilc1000: Fix memleak in wilc_sdio_probe

From: Kalle Valo
Date: Thu Aug 27 2020 - 06:03:02 EST


Dinghao Liu <dinghao.liu@xxxxxxxxxx> wrote:

> When devm_clk_get() returns -EPROBE_DEFER, sdio_priv
> should be freed just like when wilc_cfg80211_init()
> fails.
>
> Fixes: 8692b047e86cf ("staging: wilc1000: look for rtc_clk clock")
> Signed-off-by: Dinghao Liu <dinghao.liu@xxxxxxxxxx>
> Acked-by: Ajay Singh <ajay.kathat@xxxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

8d95ab34b21e wilc1000: Fix memleak in wilc_sdio_probe

--
https://patchwork.kernel.org/patch/11725481/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches