aboutsummaryrefslogtreecommitdiff
path: root/fs/pnode.h
diff options
context:
space:
mode:
authorZhihao Cheng2019-10-29 20:58:23 +0800
committerRichard Weinberger2019-11-17 22:22:54 +0100
commit10256f000932f12596dc043cf880ecf488a32510 (patch)
treef4dcff26c9a18d61c8603ff195034ac98b5127ea /fs/pnode.h
parent91cbf01178c37086b32148c53e24b04cb77557cf (diff)
ubifs: do_kill_orphans: Fix a memory leak bug
If there are more than one valid snod on the sleb->nodes list, do_kill_orphans will malloc ino more than once without releasing previous ino's memory. Finally, it will trigger memory leak. Fixes: ee1438ce5dc4 ("ubifs: Check link count of inodes when...") Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: zhangyi (F) <yi.zhang@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions