]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: sdio: fix memory leak for probe allocations
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Tue, 27 Mar 2018 20:31:44 +0000 (22:31 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 10 Apr 2018 14:30:50 +0000 (17:30 +0300)
commitf2f09eaa8ed35b676ecc494e60008a5e5bbdad94
tree17d267bf55a042ddbaadf07f3ae5abd643ecc741
parenta19df78d7b76608a21bb220c1b6aab4280242c1e
ath10k: sdio: fix memory leak for probe allocations

These allocations are not freed upon release.
When on it; go for managed resources instead.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
[kvalo: fix two checkpatch warnings]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/sdio.c