[PATCH -next 0/2] Fix memory leaks for kobject

Gaosheng Cui posted 2 patches 2 months ago
lib/kobject.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
[PATCH -next 0/2] Fix memory leaks for kobject
Posted by Gaosheng Cui 2 months ago
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