Skip to content
Commit 7bbfacc1 authored by Sihang Chen's avatar Sihang Chen Committed by Herbert Xu
Browse files

crypto: hisilicon/qm - fix wrong release after using strsep

Save the string address before pass to strsep, release it at end.
Because strsep will update the string address to point after the
token.

Fixes: c31dc9fe

("crypto: hisilicon/qm - add DebugFS for xQC and...")
Signed-off-by: default avatarSihang Chen <chensihang1@hisilicon.com>
Signed-off-by: default avatarYang Shen <shenyang39@huawei.com>
Reviewed-by: default avatarZhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent b1a5c9a6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment