commit | 50274b01ac1689b1a3f6bc4b5b3dbf361a55dd3a | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Thu Apr 01 16:18:27 2021 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Apr 09 17:45:13 2021 +1000 |
tree | 6a4e3f53cb5a74a25631cfb60511ac3f70b5083b | |
parent | 3d8c5f5a08c39835a365c69d1a6d9518722ed19e [diff] |
crypto: sun8i-ss - Fix memory leak of pad It appears there are several failure return paths that don't seem to be free'ing pad. Fix these. Addresses-Coverity: ("Resource leak") Fixes: d9b45418a917 ("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>