Skip to content
Snippets Groups Projects
Commit 89e3f732 authored by Zhang Yiqun's avatar Zhang Yiqun Committed by Greg Kroah-Hartman
Browse files

crypto: tcrypt - Fix multibuffer skcipher speed test mem leak


[ Upstream commit 1aa33fc8 ]

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.

Fixes: e161c593 ("crypto: tcrypt - add multibuf skcipher...")
Signed-off-by: default avatarZhang Yiqun <zhangyiqun@phytium.com.cn>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f8fc2f18
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment