]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: fix possible memory leak in ath10k_pci_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 30 Oct 2013 05:24:39 +0000 (13:24 +0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 6 Nov 2013 08:49:21 +0000 (10:49 +0200)
commit12eb087939d11af6b5a8228807d1428535aedb3b
tree2cc70b71e5ccb974bdb59d97e2efa2936aa12491
parente204548101732849dadd8d9f229cd1c83ae9236a
ath10k: fix possible memory leak in ath10k_pci_probe()

memory is malloced in ath10k_pci_probe() and should be freed before
leaving from the error handling cases, otherwise it will cause
memory leak.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c