Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powerpc/nvram: Add missing kfree in error path
If 'nvram_write_header' fails, then 'new_part' should be freed, otherwise, there is a memory leak. Signed-off-by: Christophe Jaillet <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
- Loading branch information