[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240925120747.1930709-1-cuigaosheng1@huawei.com>
Date: Wed, 25 Sep 2024 20:07:45 +0800
From: Gaosheng Cui <cuigaosheng1@...wei.com>
To: <gregkh@...uxfoundation.org>, <rafael@...nel.org>,
<akpm@...ux-foundation.org>, <thunder.leizhen@...wei.com>,
<cuigaosheng1@...wei.com>, <wangweiyang2@...wei.com>
CC: <linux-kernel@...r.kernel.org>, <stable@...r.kernel.org>
Subject: [PATCH -next 0/2] Fix memory leaks for kobject
Fix two memory leaks for kobject name, thanks!
Gaosheng Cui (2):
kobject: fix memory leak in kset_register() due to uninitialized
kset->kobj.ktype
kobject: fix memory leak when kobject_add_varg() returns error
lib/kobject.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
--
2.25.1
Powered by blists - more mailing lists