Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!312camera and mipi fixes wrt power management
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment