Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eb042ec3 authored by Wei Fang's avatar Wei Fang Committed by Brian Norris
Browse files

jffs2: fix a memleak in read_direntry()



Need to free the memory allocated for 'fd' if failed to read all
of the remainder name.

Signed-off-by: default avatarWei Fang <fangwei1@huawei.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent d54e8801
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment