crypto: ixp4xx - Add missing npe_c release in error branches
authorQuentin Lambert <lambert.quentin@gmail.com>
Fri, 22 Jul 2016 13:32:41 +0000 (15:32 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Aug 2016 10:47:03 +0000 (18:47 +0800)
commitc5736a4067ad4c59d1447762172def7f27fe869a
tree7e068ae6b0a03c0e755107df4225540358f86518
parentb363700ef50e2c0b3122b47ffba70281f45cb686
crypto: ixp4xx - Add missing npe_c release in error branches

Most error branches following the call to npe_request contain a call to
npe_request. This patch add a call to npe_release to error branches
following the call to npe_request that do not have it.

This issue was found with Hector.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ixp4xx_crypto.c