Re: [PATCH] crypto: tcrypt - Fix multibuffer skcipher speed test mem leak
From: Herbert Xu
Date: Fri Nov 25 2022 - 04:47:16 EST
Zhang Yiqun <zhangyiqun@xxxxxxxxxxxxxx> wrote:
> In the past, the data for mb-skcipher test has been allocated
> twice, that means the first allcated memory area is without
> free, which may cause a potential memory leakage. So this
> patch is to remove one allocation to fix this error.
>
> Signed-off-by: Zhang Yiqun <zhangyiqun@xxxxxxxxxxxxxx>
> ---
> crypto/tcrypt.c | 9 ---------
> 1 file changed, 9 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt