Re: [PATCH v2] powerpc/pseries: fix potential memory leak in init_cpu_associativity()

From
Naveen N. Rao <hidden>
Date
2023-01-10 08:45:39
Reply to
Wang Yufen, 2022-12-14
Wang Yufen wrote:
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 <redacted>
---
 arch/powerpc/platforms/pseries/lpar.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Naveen N. Rao <redacted>

- Naveen
Thread (3 messages) 3 messages, 3 authors, last reply 2023-10-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help