diff options
author | 2020-09-10 19:56:43 +0800 | |
---|---|---|
committer | 2020-09-18 17:20:11 +1000 | |
commit | 24efcec2919afa7d56f848c83a605b46c8042a53 (patch) | |
tree | 4cfcc76ce16a2a2af8863148582fff83c33f4164 /drivers/crypto/n2_core.c | |
parent | crypto: hisilicon - update ZIP module parameter description (diff) | |
download | wireguard-linux-24efcec2919afa7d56f848c83a605b46c8042a53.tar.xz wireguard-linux-24efcec2919afa7d56f848c83a605b46c8042a53.zip |
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/n2_core.c')
0 files changed, 0 insertions, 0 deletions