diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2019-11-08 09:45:17 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-11-17 09:02:38 +0800 |
commit | 56601574c12ff91bf6b0b5e913178b43541a0ca7 (patch) | |
tree | cbacac19a2cf7e5e0a5973b643a15162791ccde2 /drivers/counter/ftm-quaddec.c | |
parent | b8151220f35da4653d95c840e03b8a9db2c0d1c0 (diff) |
crypto: amlogic - fix two resources leak
This patch fixes two resources leak that occur on error path.
Reported-by: coverity-bot <keescook+coverity-bot@chromium.org>
Addresses-Coverity-ID: 1487403 ("RESOURCE_LEAK")
Addresses-Coverity-ID: 1487401 ("Resource leaks")
Fixes: 48fe583fe541 ("crypto: amlogic - Add crypto accelerator for amlogic GXL")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/counter/ftm-quaddec.c')
0 files changed, 0 insertions, 0 deletions