[1/2] powerpc/nvram: Add missing kfree in error path

Michael Ellerman mpe at ellerman.id.au
Mon Oct 12 22:17:18 AEDT 2015


On Fri, 2015-17-07 at 07:19:59 UTC, Christophe Jaillet wrote:
> If 'nvram_write_header' fails, then 'new_part' should be freed, otherwise,
> there is a memory leak.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/7d523187173294f6ae3b86a4

cheers


More information about the Linuxppc-dev mailing list