commit | d80388eca1b476125755a811676f76f138bbbe28 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Fri Feb 17 15:57:43 2017 +0000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Feb 27 18:09:38 2017 +0800 |
tree | 1e03bc2b83c18ea6a943ad9861194b1c76db469d | |
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>