summaryrefslogtreecommitdiff
path: root/drivers/bcma
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-09-25 16:22:24 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-09-29 11:23:47 +0300
commit63f6982075d890d7563e2469643f05a37d193f01 (patch)
treedd8b37b837acb1043815c205dca869f9e20c18d6 /drivers/bcma
parentfada09311d17405cc2cdf24003a4207db62b2d3f (diff)
downloadlinux-63f6982075d890d7563e2469643f05a37d193f01.tar.xz
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: 805b28c05c8e ("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
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions