crypto: talitos - avoid memleak in talitos_alg_alloc()
authorHoria Geant? <horia.geanta@freescale.com>
Mon, 11 May 2015 17:03:24 +0000 (20:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2015 17:40:21 +0000 (10:40 -0700)
commit54b915793f085622ffa78e3cffd94a5733cc71b9
tree61c7b7baaed716353efc189584d607863116f158
parent59a460c394a771501ffcd81e68c83fa2ed91e384
crypto: talitos - avoid memleak in talitos_alg_alloc()

commit 5fa7dadc898567ce14d6d6d427e7bd8ce6eb5d39 upstream.

Fixes: 1d11911a8c57 ("crypto: talitos - fix warning: 'alg' may be used uninitialized in this function")
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/talitos.c