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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2014 23:21:04 +0000 (16:21 -0700)
commitbe21e84c8e8d0795aa51ab149d2061b77b8166a8
tree3930a937473845895a87835f399c3dd27a06bd3e
parentf3e18514b44beb997d28dfa7189077ec09e86ebd
crypto: caam - fix memleak in caam_jr module

commit 0378c9a855bfa395f595fbfb049707093e270f69 upstream.

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

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/caam/jr.c