crypto: lrw - fix memleak
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Tue, 18 Oct 2011 10:32:14 +0000 (13:32 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 9 Nov 2011 03:43:00 +0000 (11:43 +0800)
commitb884f8b901b968b90d8d1b82d388583fa1b2605d
treea563f7e65847dce4e971aa525b6fd3cd0c787adf
parentdd6eec242bb2df73743f07535d2bacd6707c6300
crypto: lrw - fix memleak

LRW module leaks child cipher memory when init_tfm() fails because of child
block size not being 16.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/lrw.c