lkml.org 
[lkml]   [2022]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net] arcnet: fix potential memory leak in com20020_probe()
From
Date
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


\
 
 \ /
  Last update: 2022-11-23 14:09    [W:0.037 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site