diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2020-06-01 11:10:37 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2020-09-17 22:55:51 +0200 |
commit | 58f6e78a65f1fcbf732f60a7478ccc99873ff3ba (patch) | |
tree | 78910bf74c5aeb46c1eaf20164f970ba0fdf712e /drivers/mtd | |
parent | ubifs: xattr: Fix some potential memory leaks while iterating entries (diff) | |
download | linux-58f6e78a65f1fcbf732f60a7478ccc99873ff3ba.tar.xz linux-58f6e78a65f1fcbf732f60a7478ccc99873ff3ba.zip |
ubifs: dent: Fix some potential memory leaks while iterating entries
Fix some potential memory leaks in error handling branches while
iterating dent entries. For example, function dbg_check_dir()
forgets to free pdent if it exists.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Cc: <stable@vger.kernel.org>
Fixes: 1e51764a3c2ac05a2 ("UBIFS: add new flash file system")
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions