summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/mac.c
diff options
context:
space:
mode:
authorDongliang Mu <dzm91@hust.edu.cn>2023-03-09 10:16:36 +0800
committerKalle Valo <kvalo@kernel.org>2023-03-13 15:45:30 +0200
commit48181d285623198c33bb9698992502687b258efa (patch)
tree0a373ec941dd36e1c573dfdae6a651947d661a19 /drivers/net/wireless/ath/ath9k/mac.c
parent3ab7f9b90cc0a737e0bd8a312dc48814c4682867 (diff)
wifi: rtw88: fix memory leak in rtw_usb_probe()
drivers/net/wireless/realtek/rtw88/usb.c:876 rtw_usb_probe() warn: 'hw' from ieee80211_alloc_hw() not released on lines: 811 Fix this by modifying return to a goto statement. Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230309021636.528601-1-dzm91@hust.edu.cn
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.c')
0 files changed, 0 insertions, 0 deletions