diff options
| author | Zhihao Cheng <chengzhihao1@huawei.com> | 2020-06-01 17:10:37 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-10 10:22:17 +0100 |
| commit | 1b37f532653e9805c069e663280324921bf3a1a2 (patch) | |
| tree | fc709041684103c8ba385047d4d2bc85e89b4608 /tools/perf/scripts/python/netdev-times.py | |
| parent | b5f70e3a7619a453c0a6f3d3fb66fcc8617ad955 (diff) | |
ubifs: dent: Fix some potential memory leaks while iterating entries
commit 58f6e78a65f1fcbf732f60a7478ccc99873ff3ba upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
