diff options
author | Chao Yu <yuchao0@huawei.com> | 2019-12-30 12:41:41 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-01-18 03:48:42 +0300 |
commit | fe396ad8e7526f059f7b8c7290d33a1b84adacab (patch) | |
tree | 4523feadd10697bd0bb45dcf1ec5f22453aebdcd /fs/f2fs/dir.c | |
parent | 3e5e479a39ce9ed60cd63f7565cc1d9da77c2a4e (diff) | |
download | linux-fe396ad8e7526f059f7b8c7290d33a1b84adacab.tar.xz |
f2fs: fix memleak of kobject
If kobject_init_and_add() failed, caller needs to invoke kobject_put()
to release kobject explicitly.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/dir.c')
0 files changed, 0 insertions, 0 deletions