Re: [PATCH] atm: idt77252: fix a memleak in open_card_ubr0

From: patchwork-bot+netdevbpf
Date: Sat Feb 03 2024 - 07:50:44 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 1 Feb 2024 20:41:05 +0800 you wrote:
> When alloc_scq fails, card->vcs[0] (i.e. vc) should be freed. Otherwise,
> in the following call chain:
>
> idt77252_init_one
> |-> idt77252_dev_open
> |-> open_card_ubr0
> |-> alloc_scq [failed]
> |-> deinit_card
> |-> vfree(card->vcs);
>
> [...]

Here is the summary with links:
- atm: idt77252: fix a memleak in open_card_ubr0
https://git.kernel.org/netdev/net/c/f3616173bf9b

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