diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-08-20 07:48:19 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-08-27 12:01:31 +0200 |
commit | 8d95ab34b21ee0f870a9185b6457e8f6eb54914c (patch) | |
tree | 4e687ae75fa5ca1def00b90234f7f9376c6fa1f3 /.clang-format | |
parent | mwifiex: don't call del_timer_sync() on uninitialized timer (diff) | |
download | linux-8d95ab34b21ee0f870a9185b6457e8f6eb54914c.tar.xz linux-8d95ab34b21ee0f870a9185b6457e8f6eb54914c.zip |
wilc1000: Fix memleak in wilc_sdio_probe
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@zju.edu.cn>
Acked-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200820054819.23365-1-dinghao.liu@zju.edu.cn
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions