diff options
author | Wei Fang <fangwei1@huawei.com> | 2015-09-29 11:23:55 +0800 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-10-04 22:30:50 +0100 |
commit | eb042ec35956de2684de2a05a814cd15efe570ca (patch) | |
tree | cff4d30836e4f892dee29c12e2dfaf4f8ce88a25 /fs/jffs2/jffs2_fs_i.h | |
parent | d54e88011d0a5fb48d9bb60fede3e83375c75841 (diff) | |
download | linux-eb042ec35956de2684de2a05a814cd15efe570ca.tar.gz linux-eb042ec35956de2684de2a05a814cd15efe570ca.tar.bz2 linux-eb042ec35956de2684de2a05a814cd15efe570ca.zip |
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>
Diffstat (limited to 'fs/jffs2/jffs2_fs_i.h')
0 files changed, 0 insertions, 0 deletions