Messages in this thread | | | Subject | Re: [PATCH net] arcnet: fix potential memory leak in com20020_probe() | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 23 Nov 2022 12:50:15 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>:
On Sun, 20 Nov 2022 14:24:38 +0800 you wrote: > In com20020_probe(), if com20020_config() fails, dev and info > will not be freed, which will lead to a memory leak. > > This patch adds freeing dev and info after com20020_config() > fails to fix this bug. > > Compile tested only. > > [...]
Here is the summary with links: - [net] arcnet: fix potential memory leak in com20020_probe() https://git.kernel.org/netdev/net/c/1c40cde6b517
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |