diff options
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2017-11-18 14:45:45 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-11-29 07:33:30 +0100 |
commit | 1964e333baf4e91b05defdf2572ea6d0845ffbd7 (patch) | |
tree | 5acefe0dd598b9a8b2f19841fa7b2cdf186753cb /arch/arm64/crypto | |
parent | crypto: remove unused hardirq.h (diff) | |
download | linux-1964e333baf4e91b05defdf2572ea6d0845ffbd7.tar.xz linux-1964e333baf4e91b05defdf2572ea6d0845ffbd7.zip |
crypto: hifn_795x - Fix a memory leak in the error handling path of 'hifn_probe()'
'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>
Reviewed-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto')
0 files changed, 0 insertions, 0 deletions