Re: [PATCH] Bluetooth: btmtk: fix URB leak in alloc_mtk_intr_urb error path
From: patchwork-bot+bluetooth
Date: Thu Jun 04 2026 - 11:59:18 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Thu, 4 Jun 2026 19:46:40 +0800 you wrote:
> From: Zhao Dongdong <zhaodongdong@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
>
> [...]
Here is the summary with links:
- Bluetooth: btmtk: fix URB leak in alloc_mtk_intr_urb error path
https://git.kernel.org/bluetooth/bluetooth-next/c/c583e1de7ede
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html