diff options
| author | Dongliang Mu <mudongliangabcd@gmail.com> | 2021-09-04 10:37:41 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 11:58:40 +0100 |
| commit | 75f5bc0fac1a77bb760c93ece0ec83359b0bb3e0 (patch) | |
| tree | bfd411cb7c1d3aab7b8b81a9e2bcfb21e4c2e344 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 8b1cf577d336f31e8c36fff6584bce724f06d300 (diff) | |
JFS: fix memleak in jfs_mount
[ Upstream commit c48a14dca2cb57527dde6b960adbe69953935f10 ]
In jfs_mount, when diMount(ipaimap2) fails, it goes to errout35. However,
the following code does not free ipaimap2 allocated by diReadSpecial.
Fix this by refactoring the error handling code of jfs_mount. To be
specific, modify the lable name and free ipaimap2 when the above error
ocurrs.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
