]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - drivers/net/wireless/ath/ath10k/core.c
ath10k: fix possible memory leak in new FW loading
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 4 Oct 2013 06:13:20 +0000 (08:13 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 8 Oct 2013 12:13:53 +0000 (15:13 +0300)
commit9bab1cc010bf07aed12e3f738528c2f05b53db55
treed4c4b6dbfe707b18ad72c962ace265abb098f73f
parentfd9c4864a749ba1079fd73bf8394bc15d5c2c892
ath10k: fix possible memory leak in new FW loading

Some failpaths did `return` instead of a `goto`
leaking requested firmware.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c