summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorLin Yi <teroincn@163.com>2019-06-03 11:08:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-19 20:27:39 +0300
commit122f8ec7b78e2d0f2dc6c966bef96b47c955ca36 (patch)
tree43ff22835eb5fbe2d3d137f2d117eb00a7c00928 /scripts/cleanpatch
parent5666d896e838c974c535b3949353c83d68ce4384 (diff)
downloadlinux-122f8ec7b78e2d0f2dc6c966bef96b47c955ca36.tar.xz
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>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions