Messages in this thread | | | Date | Wed, 29 Nov 2017 17:38:28 +1100 | From | Herbert Xu <> | Subject | Re: [PATCH] crypto: hifn_795x - Fix a memory leak in the error handling path of 'hifn_probe()' |
| |
On Sat, Nov 18, 2017 at 02:45:45PM +0100, Christophe JAILLET wrote: > 'dev' is leaking in the error handling path of 'hifn_probe()'. > > Add a 'kfree(dev)' to match the code in 'hifn_remove()' > > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |