diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-02-17 15:57:43 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-27 18:09:38 +0800 |
commit | d80388eca1b476125755a811676f76f138bbbe28 (patch) | |
tree | 1e03bc2b83c18ea6a943ad9861194b1c76db469d /drivers/crypto/Kconfig | |
parent | 9bd829041b704e5e501ad5f5a9374a63426763fd (diff) |
crypto: cavium - fix leak on curr if curr->head fails to be allocated
The exit path when curr->head cannot be allocated fails to kfree the
earlier allocated curr. Fix this by kfree'ing it.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions