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:Wei Fang <fangwei1@huawei.com> Signed-off-by:
Brian Norris <computersforpeace@gmail.com>
Showing
Please register or sign in to comment