Re: [PATCH] powerpc/pseries: fix memory leak on krealloc failure in papr_init

Madhavan Srinivasan <[email protected]>
Newsgroups gmane.linux.ports.ppc.embedded,gmane.linux.kernel.stable,gmane.linux.kernel
Message-ID <[email protected]>
On Sun, 14 Jun 2026 16:23:56 +0200, Thorsten Blum wrote:
> When krealloc() fails, free the original esi_buf before returning to
> avoid a memory leak.
> 
> 

Applied to powerpc/fixes.

[1/1] powerpc/pseries: fix memory leak on krealloc failure in papr_init
      https://git.kernel.org/powerpc/c/bd83c98b988d2c560531084e296dbfb530aff829

cheers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.