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

Michael Ellerman patch-notifications at ellerman.id.au
Fri Oct 27 20:59:56 AEDT 2023


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


More information about the Linuxppc-dev mailing list