crypto: ccree - fix mem leak on error path
authorGilad Ben-Yossef <gilad@benyossef.com>
Thu, 18 Apr 2019 13:38:50 +0000 (16:38 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2019 07:38:14 +0000 (15:38 +0800)
commitd574b707c873d6ef1a2a155f8cfcfecd821e9a2e
treebc57d30f29100b5aa1dcd9d768876503816bf76a
parent1a143cdde4af13e2f564410c5f2a1646f74daa43
crypto: ccree - fix mem leak on error path

Fix a memory leak on the error path of IV generation code.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_ivgen.c