Skip to content
Commit 81423c78 authored by Zhihao Cheng's avatar Zhihao Cheng Committed by Richard Weinberger
Browse files

ubifs: ubifs_jnl_write_inode: Fix a memory leak bug



When inodes with extended attributes are evicted, xent is not freed in one
exit branch.

Signed-off-by: default avatarZhihao Cheng <chengzhihao1@huawei.com>
Fixes: 9ca2d732 ("ubifs: Limit number of xattrs per inode")
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 4ab25ac8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment