summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorDongliang Mu <mudongliangabcd@gmail.com>2021-09-04 10:37:41 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-17 09:48:42 +0100
commitd1cf71d79e009e10423643fd1dd01bffe085f7ea (patch)
treef4e2a4443757d8a1e8fe59598761e62a945c0781 /sound/pci
parent56911ee5375fd331a32c9a16075eb63ee02c4873 (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 'sound/pci')
0 files changed, 0 insertions, 0 deletions