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

From
Michael Ellerman <hidden>
Date
2023-10-27 10:25:34
Reply to
Wang Yufen, 2022-12-14
On Wed, 14 Dec 2022 15:46:23 +0800, Wang Yufen wrote:
If the vcpu_associativity alloc memory successfully but the
pcpu_associativity fails to alloc memory, the vcpu_associativity
memory leaks.
Applied to powerpc/next.

[1/1] powerpc/pseries: fix potential memory leak in init_cpu_associativity()
      https://git.kernel.org/powerpc/c/95f1a128cd728a7257d78e868f1f5a145fc43736

cheers
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