summaryrefslogtreecommitdiff
path: root/drivers/crypto/stm32/stm32-hash.c
diff options
context:
space:
mode:
authorLongfang Liu <liulongfang@huawei.com>2020-09-10 19:56:43 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-09-18 17:20:11 +1000
commit24efcec2919afa7d56f848c83a605b46c8042a53 (patch)
tree4cfcc76ce16a2a2af8863148582fff83c33f4164 /drivers/crypto/stm32/stm32-hash.c
parent0542a9416af3b59ae31d0599d5da6ce43bec209c (diff)
crypto: hisilicon - fixed memory allocation error
1. Fix the bug of 'mac' memory leak as allocating 'pbuf' failing. 2. Fix the bug of 'qps' leak as allocating 'qp_ctx' failing. Signed-off-by: Longfang Liu <liulongfang@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/stm32/stm32-hash.c')
0 files changed, 0 insertions, 0 deletions