diff options
| author | Zhao Dongdong <zhaodongdong@kylinos.cn> | 2026-06-04 14:46:40 +0300 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-06-11 21:24:40 +0300 |
| commit | f396f4005180928cd9e15e352a6512865d3bc908 (patch) | |
| tree | c6aa58c84fc73a80a72c755d1dcc87f19b00c117 /tools/lib/python | |
| parent | 5edcc018fa6e80b2c478454a4a8229c23d67c181 (diff) | |
| download | linux-f396f4005180928cd9e15e352a6512865d3bc908.tar.xz | |
Bluetooth: btmtk: fix URB leak in alloc_mtk_intr_urb error path
When btmtk_isopkt_pad() fails, the previously allocated URB is not freed,
leaking the urb structure. Add usb_free_urb() before returning the error.
Fixes: ceac1cb0259d ("Bluetooth: btusb: mediatek: add ISO data transmission functions")
Signed-off-by: Zhao Dongdong <zhaodongdong@kylinos.cn>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
