linux_dsm_epyc7002/drivers/crypto/allwinner
Colin Ian King 2c67a9333d crypto: sun8i-ss - Fix memory leak of pad
[ Upstream commit 50274b01ac1689b1a3f6bc4b5b3dbf361a55dd3a ]

It appears there are several failure return paths that don't seem
to be free'ing pad. Fix these.

Addresses-Coverity: ("Resource leak")
Fixes: d9b45418a9 ("crypto: sun8i-ss - support hash algorithms")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:17 +02:00
..
sun4i-ss crypto: sun4i-ss - initialize need_fallback 2021-03-04 11:38:32 +01:00
sun8i-ce crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe() 2021-05-11 14:47:21 +02:00
sun8i-ss crypto: sun8i-ss - Fix memory leak of pad 2021-05-14 09:50:17 +02:00
Kconfig crypto: allwinner - add missing CRYPTO_ prefix 2021-05-14 09:50:16 +02:00
Makefile crypto: allwinner - Add sun8i-ss cryptographic offloader 2019-11-01 13:38:31 +08:00