aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/ulpqueue.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-11-29 17:36:35 +0000
committerMarcel Holtmann <[email protected]>2019-11-29 19:21:33 +0000
commit3168c19d7eb17a0108a3b60ad8e8c1b18ea05c63 (patch)
treef53b6a2d7e9cc803887c6ae14881ee474cb8c51d /net/sctp/ulpqueue.c
parentBluetooth: btusb: fix non-atomic allocation in completion handler (diff)
downloadkernel-3168c19d7eb17a0108a3b60ad8e8c1b18ea05c63.tar.gz
kernel-3168c19d7eb17a0108a3b60ad8e8c1b18ea05c63.zip
Bluetooth: btusb: fix memory leak on fw
Currently the error return path when the call to btusb_mtk_hci_wmt_sync fails does not free fw. Fix this by returning via the error_release_fw label that performs the free'ing. Addresses-Coverity: ("Resource leak") Fixes: a1c49c434e15 ("Bluetooth: btusb: Add protocol support for MediaTek MT7668U USB devices") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/sctp/ulpqueue.c')
0 files changed, 0 insertions, 0 deletions