]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath5k: free sc->ah in ath5k_deinit_softc
authorJohn W. Linville <linville@tuxdriver.com>
Fri, 17 Jun 2011 20:41:30 +0000 (16:41 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Jun 2011 19:34:19 +0000 (15:34 -0400)
commit0e8d1602b223efcd4eaaa799314f5d7ad1742035
tree3ceb31773ab0218c01c93b0f8170a1848441b3a9
parent898f699e7fd625dd7cdf7739704ae88972c92dc2
ath5k: free sc->ah in ath5k_deinit_softc

Nothing else is freeing it, and this mirrors the error handling path
already in ath5k_init_softc.

https://bugzilla.kernel.org/show_bug.cgi?id=37592

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Reported-by: Tsyvarev Andrey <tsyvarev@ispras.ru>
drivers/net/wireless/ath/ath5k/base.c