# Re: \[PATCH v2\] powerpc/pseries: fix potential memory leak in init\_cpu\_associativity()

- From: Michael Ellerman \<hidden\>
- Date: 2023-10-27 10:25:34 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/10/9532455
- Thread: https://ratatoskr.run/linuxppc-dev/2022/12/9529456/t.md

```text
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
```
