Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib : kobject: fix refcount imblance on kobject_rename
the kobj refcount increased by kobject_get should be released before error return, otherwise lead to a memory leak. Signed-off-by: Lin Yi <teroincn@163.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information