[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166920781516.7047.7595861515103191510.git-patchwork-notify@kernel.org>
Date: Wed, 23 Nov 2022 12:50:15 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Wang Hai <wanghai38@...wei.com>
Cc: m.grzeschik@...gutronix.de, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
linux@...inikbrodowski.net, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net] arcnet: fix potential memory leak in com20020_probe()
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.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
Powered by blists - more mailing lists