mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
a927e8d8ab
Currently if the call to brcmf_sdiod_set_backplane_window fails then
error return path leaks mypkt. Fix this by returning by a new
error path labelled 'out' that calls brcmu_pkt_buf_free_skb to free
mypkt. Also remove redundant check on err before calling
brcmf_sdiod_skbuff_write.
Addresses-Coverity: ("Resource Leak")
Fixes:
|
||
---|---|---|
.. | ||
b43 | ||
b43legacy | ||
brcm80211 | ||
Kconfig | ||
Makefile |