commit | 0e596b3734649041ed77edc86a23c0442bbe062b | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Thu Apr 01 16:28:39 2021 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 14 09:50:17 2021 +0200 |
tree | 7d230a13322a79ac3f8c8e0fe97adc6c7d3b746a | |
parent | 2c67a9333da9d0a3b87310e0d116b7c9070c7b00 [diff] |
crypto: sa2ul - Fix memory leak of rxd [ Upstream commit 854b7737199848a91f6adfa0a03cf6f0c46c86e8 ] There are two error return paths that are not freeing rxd and causing memory leaks. Fix these. Addresses-Coverity: ("Resource leak") Fixes: 00c9211f60db ("crypto: sa2ul - Fix DMA mapping API usage") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>