diff options
author | Wang Yufen <[email protected]> | 2022-12-14 15:46:23 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-10-20 17:32:14 +1100 |
commit | 95f1a128cd728a7257d78e868f1f5a145fc43736 (patch) | |
tree | 3fb5faf56cfd15af0bb129222255836429830d89 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 007240d59c11f87ac4f6cfc6a1d116630b6b634c (diff) |
powerpc/pseries: fix potential memory leak in init_cpu_associativity()
If the vcpu_associativity alloc memory successfully but the
pcpu_associativity fails to alloc memory, the vcpu_associativity
memory leaks.
Fixes: d62c8deeb6e6 ("powerpc/pseries: Provide vcpu dispatch statistics")
Signed-off-by: Wang Yufen <[email protected]>
Reviewed-by: "Naveen N. Rao" <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions