diff options
author | Ding Xiang <[email protected]> | 2023-08-15 15:49:15 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2023-08-16 14:17:06 +0100 |
commit | 46862da15e37efedb7d2d21e167f506c0b533772 (patch) | |
tree | 62285581b52eb485070aae96e041fd6cea5a8496 /tools/testing/selftests/net/af_unix/test_unix_oob.c | |
parent | 358b763ee64b11f45287c286e1f6145729ed49ab (diff) |
kselftest/arm64: fix a memleak in zt_regs_run()
If memcmp() does not return 0, "zeros" need to be freed to prevent memleak
Signed-off-by: Ding Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/af_unix/test_unix_oob.c')
0 files changed, 0 insertions, 0 deletions