Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kselftest/arm64: fix a memleak in zt_regs_run()
[ Upstream commit 46862da ] If memcmp() does not return 0, "zeros" need to be freed to prevent memleak Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20230815074915.245528-1-dingxiang@cmss.chinamobile.com Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information