Re: [PATCH] Bluetooth: btrtl: Fix memory leak in rtlbt_parse_firmware_v2()

From: patchwork-bot+bluetooth

Date: Tue Oct 28 2025 - 17:30:30 EST


Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

On Tue, 28 Oct 2025 23:26:30 +0530 you wrote:
> The memory allocated for ptr using kvmalloc() is not freed on the last
> error path. Fix that by freeing it on that error path.
>
> Fixes: 9a24ce5e29b1 ("Bluetooth: btrtl: Firmware format v2 support")
> Signed-off-by: Abdun Nihaal <nihaal@xxxxxxxxxxxxxx>
> ---
> Compile tested only. Issue found using static analysis.
>
> [...]

Here is the summary with links:
- Bluetooth: btrtl: Fix memory leak in rtlbt_parse_firmware_v2()
https://git.kernel.org/bluetooth/bluetooth-next/c/4a3855790fba

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html