Skip to content
Commit d33fe77b authored by Dinghao Liu's avatar Dinghao Liu Committed by Marcel Holtmann
Browse files

Bluetooth: btusb: Fix memleak in btusb_mtk_submit_wmt_recv_urb



When kmalloc() on buf fails, urb should be freed just like
when kmalloc() on dr fails.

Signed-off-by: default avatarDinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent dc45d375
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment