crypto: qat - fix leak on error path
authorTadeusz Struk <tadeusz.struk@intel.com>
Wed, 10 Feb 2016 22:59:44 +0000 (14:59 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Feb 2016 20:07:52 +0000 (04:07 +0800)
commit26d52ea39b89a505aa84d7a3513c4c2eae8a67e0
tree07165879a343fedece9d0fad7549f4ec45491d3d
parent28856a9e52c7cac712af6c143de04766617535dc
crypto: qat - fix leak on error path

Fix a leak on error path in qat asym

Reported-by: Salvatore Benedetto <salvatore.benedetto@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_asym_algs.c