linux_dsm_epyc7002/drivers/crypto/cavium
Colin Ian King d80388eca1 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>
2017-02-27 18:09:38 +08:00
..
cpt crypto: cavium - fix leak on curr if curr->head fails to be allocated 2017-02-27 18:09:38 +08:00