On Wed, Nov 15, 2017 at 12:37:19PM +0000, Colin King wrote: > From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > > The object info is being leaked on an error return path, fix this > by setting ret to -ENOMEM and exiting via the request_cleanup path > that will free info. > > Detected by CoverityScan, CID#1408439 ("Resource Leak") > > Fixes: c694b233295b ("crypto: cavium - Add the Virtual Function driver for CPT") > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt