[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166822981733.20406.7244212929939531395.git-patchwork-notify@kernel.org>
Date: Sat, 12 Nov 2022 05:10:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: netdev@...r.kernel.org, isdn@...ux-pingi.de, davem@...emloft.net
Subject: Re: [PATCH net] mISDN: fix possible memory leak in
mISDN_dsp_element_register()
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 9 Nov 2022 21:28:32 +0800 you wrote:
> Afer commit 1fa5ae857bb1 ("driver core: get rid of struct device's
> bus_id string array"), the name of device is allocated dynamically,
> use put_device() to give up the reference, so that the name can be
> freed in kobject_cleanup() when the refcount is 0.
>
> The 'entry' is going to be freed in mISDN_dsp_dev_release(), so the
> kfree() is removed. list_del() is called in mISDN_dsp_dev_release(),
> so it need be intialized.
>
> [...]
Here is the summary with links:
- [net] mISDN: fix possible memory leak in mISDN_dsp_element_register()
https://git.kernel.org/netdev/net/c/98a2ac1ca8fd
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