commit | 58f6e78a65f1fcbf732f60a7478ccc99873ff3ba | [log] [tgz] |
---|---|---|
author | Zhihao Cheng <chengzhihao1@huawei.com> | Mon Jun 01 17:10:37 2020 +0800 |
committer | Richard Weinberger <richard@nod.at> | Thu Sep 17 22:55:51 2020 +0200 |
tree | 78910bf74c5aeb46c1eaf20164f970ba0fdf712e | |
parent | f2aae745b82c842221f4f233051f9ac641790959 [diff] |
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>