linux/drivers/net/wireless/quantenna
Colin Ian King 63f6982075 qtnfmac: fix resource leaks on unsupported iftype error return path
Currently if an unsupported iftype is detected the error return path
does not free the cmd_skb leading to a resource leak. Fix this by
free'ing cmd_skb.

Addresses-Coverity: ("Resource leak")
Fixes: 805b28c05c ("qtnfmac: prepare for AP_VLAN interface type support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200925132224.21638-1-colin.king@canonical.com
2020-09-29 11:23:47 +03:00
..
qtnfmac qtnfmac: fix resource leaks on unsupported iftype error return path 2020-09-29 11:23:47 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00