commit | eb042ec35956de2684de2a05a814cd15efe570ca | [log] [tgz] |
---|---|---|
author | Wei Fang <fangwei1@huawei.com> | Tue Sep 29 11:23:55 2015 +0800 |
committer | Brian Norris <computersforpeace@gmail.com> | Sun Oct 04 22:30:50 2015 +0100 |
tree | cff4d30836e4f892dee29c12e2dfaf4f8ce88a25 | |
parent | d54e88011d0a5fb48d9bb60fede3e83375c75841 [diff] |
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>