diff options
author | Chao Yu <yuchao0@huawei.com> | 2019-12-30 17:41:41 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-01-17 16:48:42 -0800 |
commit | fe396ad8e7526f059f7b8c7290d33a1b84adacab (patch) | |
tree | 4523feadd10697bd0bb45dcf1ec5f22453aebdcd /fs/f2fs/checkpoint.c | |
parent | 3e5e479a39ce9ed60cd63f7565cc1d9da77c2a4e (diff) | |
download | linux-fe396ad8e7526f059f7b8c7290d33a1b84adacab.tar.bz2 |
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/checkpoint.c')
0 files changed, 0 insertions, 0 deletions