Re: [PATCH net v2] isdn: mISDN: hfcsusb: fix memory leak in hfcsusb_probe()
From: patchwork-bot+netdevbpf
Date: Fri Oct 31 2025 - 20:50:32 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 30 Oct 2025 09:55:22 +0530 you wrote:
> In hfcsusb_probe(), the memory allocated for ctrl_urb gets leaked when
> setup_instance() fails with an error code. Fix that by freeing the urb
> before freeing the hw structure. Also change the error paths to use the
> goto ladder style.
>
> Compile tested only. Issue found using a prototype static analysis tool.
>
> [...]
Here is the summary with links:
- [net,v2] isdn: mISDN: hfcsusb: fix memory leak in hfcsusb_probe()
https://git.kernel.org/netdev/net/c/3f978e3f1570
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html