crypto: caam - fix memleak in caam_jr module
authorCristian Stoica <cristian.stoica@freescale.com>
Mon, 7 Jul 2014 08:52:41 +0000 (11:52 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jul 2014 08:59:13 +0000 (16:59 +0800)
commit0378c9a855bfa395f595fbfb049707093e270f69
treee6c1e570ee9a333349dbe9dbf99e8965a97d0474
parentcfe82d4f45c7cc39332a2be7c4c1d3bf279bbd3d
crypto: caam - fix memleak in caam_jr module

This patch fixes a memory leak that appears when caam_jr module is unloaded.

Cc: <stable@vger.kernel.org> # 3.13+
Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/jr.c